diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7a929f5f4..e4cb74cd8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,10 @@ on: tags: - 'v[0-9]+' +permissions: + contents: read + issues: write + jobs: tests: uses: ./.github/workflows/ci.yml @@ -12,9 +16,6 @@ jobs: release: needs: tests runs-on: ubuntu-latest - permissions: - contents: read - issues: write steps: - uses: actions/checkout@v3 with: @@ -114,10 +115,10 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Close Issue - uses: peter-evans/close-issue@v3 - with: - issue-number: ${{ needs.release.outputs.issueNumber }} - comment: | - ## ✅ Close Issue - Issue automatically closed on successful deployment + # - name: Close Issue + # uses: peter-evans/close-issue@v3 + # with: + # issue-number: ${{ needs.release.outputs.issueNumber }} + # comment: | + # ## ✅ Close Issue + # Issue automatically closed on successful deployment