chore: Sync common workflows (#1456)

This is an automated sync of common workflows for this organization.
The upstream source is:

11128e0985

Co-authored-by: Shaka Bot <shaka-bot@users.noreply.github.com>
This commit is contained in:
Shaka Bot 2024-12-10 09:56:59 -08:00 committed by GitHub
parent 1f0a4d1959
commit a26e6623d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 4 deletions

View File

@ -16,6 +16,11 @@ on:
jobs: jobs:
sync-labels: sync-labels:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
# "Write" to Issues to manage labels for the repo
issues: write
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4

View File

@ -8,13 +8,16 @@ on:
# Run every 30 minutes # Run every 30 minutes
- cron: '*/30 * * * *' - cron: '*/30 * * * *'
permissions:
issues: write
pull-requests: write
jobs: jobs:
update-issues: update-issues:
runs-on: ubuntu-latest 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: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4