Skip to content

Commit

Permalink
Exclude Alpine-only PRs from release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuru committed May 10, 2024
1 parent 367a10a commit d198203
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
11 changes: 11 additions & 0 deletions .github/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ version-resolver:
- 'github'
default: 'minor'

exclude-labels:
- 'alpine-only'

categories:
- title: '🚀 Enhancements'
labels:
Expand Down Expand Up @@ -58,6 +61,14 @@ change-template: |
template: |
$CHANGES
## Every Release
In every release, we update all [unpinned packages](https://github.com/cloudposse/geodesic/blob/main/packages.txt) to their latest packaged versions.
On a regular basis (roughly weekly), on Alpine only, we update the AWS CLI v1 and its dependencies to the latest versions. Debian does not have AWS CLI v1 installed, only v2.
These changes are not detailed here.
replacers:
# Remove irrelevant information from Renovate bot
- search: '/(?<=---\s+)^#.*(Renovate configuration|Configuration)(?:.|\n)*?This PR has been generated .*/gm'
Expand Down
17 changes: 13 additions & 4 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# We are going to exclude alpine-only PRs from the draft release,
# so we do not apply the label if the Alpine Dockerfile is changed,
# even though the PR is technically Alpine-only.
alpine-only:
- changed-files:
- all-globs-to-all-files:
- os/alpine/**
- !os/alpine/Dockerfile.alpine

direnv:
- changed-files:
- any-glob-to-any-file:
Expand All @@ -6,8 +15,8 @@ direnv:
docker:
- changed-files:
- any-glob-to-any-file:
- Dockerfile.alpine
- Dockerfile.debian
- os/alpine/Dockerfile.alpine
- os/debian/Dockerfile.debian

docs:
- changed-files:
Expand All @@ -22,8 +31,8 @@ github:
packages:
- changed-files:
- any-glob-to-any-file:
- packages*.txt
- requirements*.txt
- "**/packages*.txt"
- "**/requirements*.txt"

scripts:
- changed-files:
Expand Down

0 comments on commit d198203

Please sign in to comment.