Skip to content

Commit 6fd89f9

Browse files
committed
fix: allow access to forked pull request labels
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]>
1 parent 7b1aa4c commit 6fd89f9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
- closed
99
branches:
1010
- main
11+
pull_request_target:
12+
types:
13+
- closed
14+
branches:
15+
- main
1116

1217
permissions:
1318
contents: read

0 commit comments

Comments
 (0)