Skip to content

Commit

Permalink
chore: Sync common workflows (shaka-project#18)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
shaka-bot and shaka-bot authored Dec 10, 2024
1 parent 9249e93 commit 5e701d1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/sync-labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ on:
jobs:
sync-labels:
runs-on: ubuntu-latest

permissions:
# "Write" to Issues to manage labels for the repo
issues: write

steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/update-issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@ on:
# Run every 30 minutes
- cron: '*/30 * * * *'

permissions:
issues: write
pull-requests: write

jobs:
update-issues:
runs-on: ubuntu-latest

permissions:
# "Write" to Issues to add labels, milestones, comments, etc.
issues: write
# "Write" to Pull Requests for the same.
pull-requests: write

steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down

0 comments on commit 5e701d1

Please sign in to comment.