diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 03c9aa661..1ba4104e9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,6 @@ name: Update the v1 branch when a release is published on: release: - permissions: - contents: write # for Git to git push types: [published] permissions: contents: read @@ -10,6 +8,8 @@ permissions: jobs: release: runs-on: ubuntu-latest + permissions: + contents: write # for git push steps: - uses: actions/checkout@v3 with: