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

chore: disable PR comment for fork repositories #8

Merged

Conversation

antonbaliasnikov
Copy link
Contributor

What ❔

Disable PR commenting for the benchmark comparison if the workflow is executed from the forked repository.

Why ❔

For security reasons, GitHub restricts fork repositories GITHUB_TOKEN in permissions setting it to read-only. So, for the fork repository workflows, we will print benchmark comparison to the summary and in logs, but not commenting in the PR.

Checklist

  • PR title corresponds to the body of PR.
  • Documentation comments have been added / updated.

@antonbaliasnikov antonbaliasnikov merged commit 0d85f11 into main May 29, 2024
1 check passed
@antonbaliasnikov antonbaliasnikov deleted the abalias-cpr-1706-issue-with-checkout-fork-repositories branch May 29, 2024 14:51
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