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

fix: allow access to forked pull request labels for release #285

Merged
merged 1 commit into from
May 21, 2024

Conversation

jmeridth
Copy link
Member

Pull Request

Proposed Changes

Release fails if pull request is from a fork currently because we can't access the labels on the forked pull request which helps us determine semver for next release.

Saw this after merging #283 (from a fork)

Add pull_request_target to release action workflow

I am not worried about the security implications with us checking out the forked pull requests code. This action only fires after a merge to main so this means the pull request code has been reviewed by a maintainer. We are post-CI/code run.

Readiness Checklist

Author/Contributor

  • If documentation is needed for this change, has that been included in this pull request
  • run make lint and fix any issues that you have introduced
  • run make test and ensure you have test coverage for the lines you are introducing

Reviewer

  • Label as either fix, documentation, enhancement, infrastructure, maintenance, or breaking

Release fails if pull request is from a fork currently because
we can't access the labels on the forked pull request which
helps us determine semver for next release.

Saw this after merging #283 (from a fork)

Add pull_request_target to release action workflow

I am not worried about the security implications with us checking
out the forked pull requests code.  This action only fires after
a merge to main so this means the pull request code has been reviewed
by a maintainer.  We are post-CI/code run.

Signed-off-by: jmeridth <[email protected]>
@jmeridth jmeridth self-assigned this May 19, 2024
@jmeridth jmeridth requested a review from zkoppert as a code owner May 19, 2024 14:40
@github-actions github-actions bot added the fix label May 19, 2024
@jmeridth jmeridth changed the title fix: allow access to forked pull request labels fix: allow access to forked pull request labels for release May 19, 2024
@zkoppert zkoppert merged commit 8136d81 into main May 21, 2024
28 checks passed
@zkoppert zkoppert deleted the jm-fix-release branch May 21, 2024 06:09
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