Skip to content

Commit aec5155

Browse files
committed
Fix names and permissions of pr-label-move
1 parent 795e241 commit aec5155

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/on-pr-opened-updated.yml renamed to .github/workflows/on-pr-opened-updated-check.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: On PR opened/updated
1+
name: On PR opened/updated (Check)
22

33
on:
44
# _target is required
@@ -10,6 +10,9 @@ jobs:
1010
if: github.repository == 'JabRef/jabref'
1111
name: Conflicts with target branch
1212
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
actions: write
1316
steps:
1417
- uses: actions/checkout@v5
1518
with:

.github/workflows/on-pr-opened-updated-move-labels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ name: On PR opened/updated (Labels)
22

33
on:
44
workflow_run:
5-
workflows: ["On PR opened/updated"]
5+
workflows: ["On PR opened/updated (Check)"]
66
types: [completed]
77

88
jobs:
99
apply-labels:
1010
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1111
runs-on: ubuntu-latest
1212
permissions:
13-
issues: write
1413
actions: read
1514
contents: read
15+
pull-requests: write
1616
steps:
1717
- name: Download artifact from triggering run
1818
uses: actions/download-artifact@v6

0 commit comments

Comments
 (0)