Skip to content

Commit

Permalink
feat: add GitHub release config
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii committed May 10, 2024
1 parent dcd523c commit 731cbd9
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
changelog:
exclude:
authors:
- dependabot
- pre-commit-ci
18 changes: 18 additions & 0 deletions docs/pages/guides/gha_basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -710,3 +710,21 @@ everything in one job, you only need one of these.
>
> - [CLIUtils.github.io/CLI11](https://github.com/CLIUtils/CLI11/blob/main/.github/workflows/docs.yml)
> - [iris-hep.org](https://github.com/iris-hep/iris-hep.github.io/blob/master/.github/workflows/deploy.yml)

### Changelog generation

Not directly part of Actions, but also in `.github` is `.github/release.yml`,
which lets you [configure the changelog generation][gh-changelog] button when
you make a release. The following config will remove dependabot and
pre-commit-ci PRs for you:

```yaml
changelog:
exclude:
authors:
- dependabot
- pre-commit-ci
```

[gh-changelog]:
https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
5 changes: 5 additions & 0 deletions {{cookiecutter.project_name}}/.github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
changelog:
exclude:
authors:
- dependabot
- pre-commit-ci

0 comments on commit 731cbd9

Please sign in to comment.