Skip to content

ci: add comment on PR when workflow fails - #2985

Open
Alex33856 wants to merge 2 commits into
NotEnoughUpdates:masterfrom
Alex33856:dev/comment-on-workflow-failure
Open

ci: add comment on PR when workflow fails#2985
Alex33856 wants to merge 2 commits into
NotEnoughUpdates:masterfrom
Alex33856:dev/comment-on-workflow-failure

Conversation

@Alex33856

Copy link
Copy Markdown
Member

Requires a fine-grained PAT with "Actions: read" permission (scope to this repository only) to be added as a secret named GH_PAT. (GitHub doesn't give an easy way to get the PR number from a failed action, so they have you upload it as an artifact but an action can only read its own artifacts with its token so you have to provide your own token 💀)

Example of message:
image

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant