Repository navigation
feat(pr-classifiers): Comment as the GitHub App - #190
Open
sentry-junior[bot] wants to merge 1 commit into
Open
sentry-junior[bot] wants to merge 1 commit into
sentry-junior[bot] wants to merge 1 commit into
Conversation
Add comment-as-app, which writes the summary comment with a token of the classifiers app scoped to the calling repository's pull requests, instead of the workflow token as github-actions[bot]. Co-Authored-By: Phil Niedertscheider <30923007+philprime@users.noreply.github.com>
Contributor
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds an opt-in
comment-as-appinput. When it andpublish-commentaretrue, the action creates a token from the same app asapp-client-id, scoped to the calling repository and limited topull-requests: write. It passes that token and<app-slug>[bot]to the classifiers action ascomment-tokenandcomment-author, so the summary comment comes from the app instead ofgithub-actions[bot]. Labels still use the workflow token. With the input off, nothing changes.The new inputs come from getsentry/classifiers#14.
Open decisions:
classifiers-refstill points to a commit withoutcomment-tokenorcomment-author. After that PR merges, this PR needs to bump the default to the merge commit.getsentry/classifiers.via @philprime.
--
View Session [Sentry]