CI: update permissions on workflows which get external secrets (#104792) (#105792)

update permissions

(cherry picked from commit e36d774d0c)

Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com>
pull/105894/head
Kevin Yu 1 month ago committed by GitHub
parent 4e3bdbae71
commit b6ab3b4a8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      .github/workflows/changelog.yml
  2. 1
      .github/workflows/pr-patch-check-event.yml
  3. 4
      .github/workflows/sync-mirror-event.yml

@ -63,6 +63,7 @@ jobs:
DRY_RUN: ${{ inputs.dry_run }}
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
pull-requests: write
steps:

@ -20,6 +20,7 @@ permissions: {}
jobs:
dispatch-job:
permissions:
id-token: write
contents: read
actions: write
env:

@ -10,14 +10,14 @@ on:
- "v*.*.*"
- "release-*"
permissions:
id-token: write
permissions: {}
# This is run after the pull request has been merged, so we'll run against the target branch
jobs:
dispatch-job:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
actions: write
env:

Loading…
Cancel
Save