Skip to content

Commit 7319390

Browse files
authored
chore: Sync common workflows (shaka-project#58)
This is an automated sync of common workflows for this organization. The upstream source is: shaka-project/shaka-github-tools@11128e0 Co-authored-by: Shaka Bot <[email protected]>
1 parent 3fd76db commit 7319390

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/sync-labels.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ on:
1616
jobs:
1717
sync-labels:
1818
runs-on: ubuntu-latest
19+
20+
permissions:
21+
# "Write" to Issues to manage labels for the repo
22+
issues: write
23+
1924
steps:
2025
- name: Checkout code
2126
uses: actions/checkout@v4

.github/workflows/update-issues.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,16 @@ on:
88
# Run every 30 minutes
99
- cron: '*/30 * * * *'
1010

11-
permissions:
12-
issues: write
13-
pull-requests: write
14-
1511
jobs:
1612
update-issues:
1713
runs-on: ubuntu-latest
14+
15+
permissions:
16+
# "Write" to Issues to add labels, milestones, comments, etc.
17+
issues: write
18+
# "Write" to Pull Requests for the same.
19+
pull-requests: write
20+
1821
steps:
1922
- name: Checkout code
2023
uses: actions/checkout@v4

0 commit comments

Comments
 (0)