Skip to content

Commit f02f1c8

Browse files
committed
Some more guards for the workflows
1 parent 0c05446 commit f02f1c8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/on-issue-comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
assign:
9-
if: github.repository == 'JabRef/jabref'
9+
if: github.repository_owner == 'JabRef'
1010
runs-on: ubuntu-latest
1111
permissions:
1212
contents: read

.github/workflows/on-pr-closed.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
name: Determine issue number
1010
runs-on: ubuntu-latest
1111
if: >
12+
(github.repository == 'JabRef/jabref') &&
1213
!(
1314
(github.actor == 'dependabot[bot]') ||
1415
(

0 commit comments

Comments
 (0)