-
Notifications
You must be signed in to change notification settings - Fork 0
chore: replace semantic-release with manual GitHub Releases #387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| changelog: | ||
| exclude: | ||
| labels: | ||
| - skip-changelog | ||
| authors: | ||
| - devsy-app[bot] | ||
| categories: | ||
| - title: Features | ||
| labels: | ||
| - enhancement | ||
| - feature | ||
| - title: Bug Fixes | ||
| labels: | ||
| - bug | ||
| - fix | ||
| - title: Infrastructure | ||
| labels: | ||
| - ci | ||
| - infrastructure | ||
| - title: Other Changes | ||
| labels: | ||
| - "*" | ||
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| name: Create Release | ||
|
|
||
| on: | ||
| push: | ||
| tags: | ||
| - "v*" | ||
|
|
||
| permissions: | ||
| contents: write | ||
|
|
||
| jobs: | ||
| release: | ||
| name: Create GitHub Release | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v6 | ||
| with: | ||
| fetch-depth: 0 | ||
|
|
||
| - name: Determine if pre-release | ||
| id: prerelease | ||
| run: | | ||
| TAG="${GITHUB_REF_NAME}" | ||
| if [[ "$TAG" == *-* ]]; then | ||
| echo "is_prerelease=true" >> "$GITHUB_OUTPUT" | ||
| else | ||
| echo "is_prerelease=false" >> "$GITHUB_OUTPUT" | ||
| fi | ||
|
|
||
| - name: Create release | ||
| env: | ||
| GH_TOKEN: ${{ github.token }} | ||
| run: | | ||
| gh release create "$GITHUB_REF_NAME" \ | ||
| --generate-notes \ | ||
| ${{ steps.prerelease.outputs.is_prerelease == 'true' && '--prerelease' || '--latest' }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
In GitHub.github/release.ymlfor generated release notes, doeschangelog.excludetreatlabelsandauthorsas independent exclusion criteria (OR behavior)? Specifically, ifauthorsincludesdevsy-app[bot], are all PRs from that author excluded regardless of labels?💡 Result:
Yes—
changelog.exclude.labelsandchangelog.exclude.authorsare independent exclusion filters, and a PR is excluded if it matches either exclusion list. GitHub’s documentation for automatically generated release notes sayschangelog.exclude.labelsis a list of labels that exclude a pull request from appearing in release notes, andchangelog.exclude.authorsis a list of user or bot login handles whose pull requests are to be excluded from release notes [1][2]. Since both are described as separate exclusion criteria at the same level (changelog.exclude), including an author likedevsy-app[bot]inchangelog.exclude.authorswill exclude all PRs opened by that author from the generated release notes, regardless of the PR’s labels [1][2]. (Important nuance: the docs also support per-category exclusions viachangelog.categories[*].exclude.*, which similarly define exclusions within a category scope; but for your specific question aboutchangelog.exclude, the behavior is “exclude by labels OR exclude by authors” in effect.) [2]Citations:
exclude.authorsexcludes all bot PRs independent of labels.The
authorsfield on Lines 5–6 will exclude every pull request fromdevsy-app[bot], regardless of labels. This is independent fromlabelsfiltering—a PR is excluded if it matches either criterion. If the intent is to exclude PRs only when they are labeledskip-changelog, remove theauthorssection.Suggested change
changelog: exclude: labels: - skip-changelog - authors: - - devsy-app[bot]📝 Committable suggestion
🤖 Prompt for AI Agents