From ea784df33073e9b86ed02b134d558e86fecf205a Mon Sep 17 00:00:00 2001 From: Daniel Shuy <17351764+daniel-shuy@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:14:33 +0800 Subject: [PATCH] Add required token permissions to examples --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 06b4051..444c6f4 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,8 @@ on: jobs: sync-branch: runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@master @@ -46,6 +48,8 @@ on: jobs: merge-branch: runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@master @@ -68,6 +72,8 @@ on: jobs: merge-branch: runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@master @@ -97,6 +103,8 @@ on: jobs: merge-branch: runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@master