Skip to content
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

Disable PR comment by default from forks #64

Merged
merged 3 commits into from
Aug 20, 2024
Merged

Conversation

emcfarlane
Copy link
Collaborator

@emcfarlane emcfarlane commented Aug 20, 2024

Forked PRs can fail to access the secrets for the repository. This can fail on trying to comment the results from CI on the PR. Disable comments for all forked by default.

Tested here on a forked emcfarlane/releases#14 and unforked emcfarlane/releases#15 change. The update before reference buf-action@main, then updating to buf-action@ed/disableForkComment the forked comment now disables the comment, whilst the unforked still comments.

Forked PRs can fail to access the secrets for the repository. This can
fail on trying to comment the results from CI on the PR. Disable
comments for all forked by default.
@emcfarlane emcfarlane self-assigned this Aug 20, 2024

This comment has been minimized.

@emcfarlane emcfarlane marked this pull request as ready for review August 20, 2024 21:19
@emcfarlane emcfarlane merged commit 1925ed2 into main Aug 20, 2024
36 checks passed
@emcfarlane emcfarlane deleted the ed/disableForkComment branch August 20, 2024 21:22
@emcfarlane emcfarlane mentioned this pull request Aug 20, 2024
emcfarlane added a commit that referenced this pull request Aug 20, 2024
Releases the changes in #64
to fix failures in CI for contributors PRs.
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.

2 participants