Skip to content

ci: use GitHub App token for PR title check comments#17

Merged
dhandal09 merged 1 commit intomainfrom
ci/pr-title-check-use-github-app
Mar 20, 2026
Merged

ci: use GitHub App token for PR title check comments#17
dhandal09 merged 1 commit intomainfrom
ci/pr-title-check-use-github-app

Conversation

@dhandal09
Copy link
Copy Markdown
Collaborator

Summary

  • Switches the PR title check workflow from the default GITHUB_TOKEN to a GitHub App token (generated via actions/create-github-app-token@v2), matching the approach used in the release workflow.
  • Passes the app token to all peter-evans/find-comment and peter-evans/create-or-update-comment steps.
  • Updates the comment-author filter to dynamically use the app's bot username instead of the hardcoded github-actions[bot].

Test plan

  • Open or edit a PR and verify the title check workflow runs successfully
  • Confirm the comment is posted by the GitHub App bot user
  • Verify that subsequent title edits update the existing comment (rather than creating duplicates)

Made with Cursor

Replace the default GITHUB_TOKEN with a GitHub App token
(matching the release workflow) so PR title check comments
are posted by the app instead of github-actions[bot].

Made-with: Cursor
@dhandal09 dhandal09 requested a review from a team March 20, 2026 18:32
@poly-adk-bot
Copy link
Copy Markdown

poly-adk-bot bot commented Mar 20, 2026

✅ Valid PR Title

Type Release
ci No release

This PR uses a non-release commit type (ci). No version bump will occur when merged.

If you want to trigger a release, use feat: (minor), fix: (patch), or add ! for breaking changes (major).

@dhandal09 dhandal09 merged commit 4723884 into main Mar 20, 2026
2 checks passed
@dhandal09 dhandal09 deleted the ci/pr-title-check-use-github-app branch March 20, 2026 19:05
@poly-adk-bot
Copy link
Copy Markdown

poly-adk-bot bot commented Mar 23, 2026

🎉 This PR is included in version 1.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants