File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 11name : PR Triage
22
33on :
4- push :
5- branches :
6- - ' **' # All branches
7- - ' !main' # Exclude main if needed
4+ pull_request :
5+ types : [opened, reopened, synchronize]
86 workflow_dispatch :
97 inputs :
108 pr_number :
@@ -18,9 +16,8 @@ permissions:
1816
1917jobs :
2018 triage-pr :
21- if : github.event.pull_request != null || inputs.pr_number != '' # Only run if it's part of a PR or pr_number is provided
2219 uses : OpenSwiftUIProject/github-workflows/.github/workflows/pr-triage.yml@main
2320 with :
2421 # fromJSON workaround number inputs: https://github.com/orgs/community/discussions/67182#discussioncomment-8617964
25- pr_number : ${{ fromJSON(inputs.pr_number) }}
22+ pr_number : ${{ inputs.pr_number && fromJSON(inputs.pr_number) || github.event.pull_request.number }}
2623 secrets : inherit
You can’t perform that action at this time.
0 commit comments