Skip to content

Commit

Permalink
Fix manifest_sync.yml: Limit permission contents: read
Browse files Browse the repository at this point in the history
Signed-off-by: Jiahao XU <[email protected]>
  • Loading branch information
NobodyXu committed Dec 5, 2024
1 parent b2feb06 commit c270e26
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/manifest_sync.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: manifest synchronization

permissions:
contents: read

on:
workflow_call:
release:
Expand All @@ -17,6 +20,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: true

- name: Checkout manifest-schema branch
run: ./tools/checkout-manifest-schema-branch.sh $WORKSPACE
Expand Down

0 comments on commit c270e26

Please sign in to comment.