Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
changelog:
exclude:
labels:
- skip-changelog
authors:
- devsy-app[bot]
Comment on lines +5 to +6

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

🧩 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.labels and changelog.exclude.authors are independent exclusion filters, and a PR is excluded if it matches either exclusion list. GitHub’s documentation for automatically generated release notes says changelog.exclude.labels is a list of labels that exclude a pull request from appearing in release notes, and changelog.exclude.authors is 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 like devsy-app[bot] in changelog.exclude.authors will 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 via changelog.categories[*].exclude.*, which similarly define exclusions within a category scope; but for your specific question about changelog.exclude, the behavior is “exclude by labels OR exclude by authors” in effect.) [2]

Citations:


exclude.authors excludes all bot PRs independent of labels.

The authors field on Lines 5–6 will exclude every pull request from devsy-app[bot], regardless of labels. This is independent from labels filtering—a PR is excluded if it matches either criterion. If the intent is to exclude PRs only when they are labeled skip-changelog, remove the authors section.

Suggested change
 changelog:
   exclude:
     labels:
       - skip-changelog
-    authors:
-      - devsy-app[bot]
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
authors:
- devsy-app[bot]
changelog:
exclude:
labels:
- skip-changelog
categories:
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/release.yml around lines 5 - 6, The current exclude.authors entry
(the authors field containing "devsy-app[bot]") causes all PRs from that bot to
be excluded regardless of labels; to make exclusion conditional on the
skip-changelog label, remove the authors entry under exclude (delete the
authors: - devsy-app[bot] block) so only the exclude.labels rule applies, or
alternatively move the bot name into a labels-based rule; update the release
configuration by editing the exclude section to drop the authors key so
label-only filtering (e.g., exclude.labels: ["skip-changelog"]) is used.

categories:
- title: Features
labels:
- enhancement
- feature
- title: Bug Fixes
labels:
- bug
- fix
- title: Infrastructure
labels:
- ci
- infrastructure
- title: Other Changes
labels:
- "*"
48 changes: 0 additions & 48 deletions .github/workflows/create-release-pr.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/create-release.yml
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' }}
45 changes: 0 additions & 45 deletions .github/workflows/semantic-release.yml

This file was deleted.

15 changes: 0 additions & 15 deletions .releaserc.json

This file was deleted.

Loading
Loading