diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 592a3b8..f671538 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -8,6 +8,8 @@ on: jobs: release: runs-on: ubuntu-latest + permissions: + contents: write steps: - name : Checkout repository uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 @@ -17,6 +19,4 @@ jobs: gh --repo "${{ github.repository }}" release create ${{ github.ref_name }} --verify-tag --generate-notes env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - permissions: - contents: write