Skip to content

Commit 5a1d627

Browse files
committed
Do not run on PR comments
1 parent 51ba9d3 commit 5a1d627

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/check_pr.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ permissions:
1717
jobs:
1818
get-target:
1919
runs-on: ubuntu-latest
20+
if: ${{ !github.event.issue.pull_request }}
2021
permissions:
2122
issues: write
2223
outputs:
@@ -69,6 +70,7 @@ jobs:
6970
7071
fetch:
7172
runs-on: ubuntu-latest
73+
if: ${{ !github.event.issue.pull_request }}
7274
steps:
7375
- uses: actions/cache/restore@v4
7476
id: restore-issues
@@ -103,6 +105,7 @@ jobs:
103105

104106
apply:
105107
runs-on: ubuntu-latest
108+
if: ${{ !github.event.issue.pull_request }}
106109
permissions:
107110
issues: write
108111
needs: [get-target, fetch]
@@ -152,6 +155,7 @@ jobs:
152155
153156
diff:
154157
runs-on: ubuntu-latest
158+
if: ${{ !github.event.issue.pull_request }}
155159
needs: [apply]
156160
permissions:
157161
issues: write

0 commit comments

Comments
 (0)