Skip to content

Commit edeff60

Browse files
committed
Fix workflow in check list issue
1 parent d570d41 commit edeff60

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/pr-triage.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
name: PR Triage
22

33
on:
4-
pull_request_target:
5-
types: [opened, reopened]
4+
push:
5+
branches:
6+
- '**' # All branches
7+
- '!main' # Exclude main if needed
68
workflow_dispatch:
79
inputs:
810
pr_number:
@@ -16,6 +18,7 @@ permissions:
1618

1719
jobs:
1820
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
1922
uses: OpenSwiftUIProject/github-workflows/.github/workflows/pr-triage.yml@main
2023
with:
2124
# fromJSON workaround number inputs: https://github.com/orgs/community/discussions/67182#discussioncomment-8617964

0 commit comments

Comments
 (0)