diff --git a/.github/workflows/release-note.yml b/.github/workflows/release-note.yml index 79cda698..04c5a2f2 100644 --- a/.github/workflows/release-note.yml +++ b/.github/workflows/release-note.yml @@ -11,6 +11,9 @@ on: # Only following types are handled by the action, but one can default to all as well types: [ opened, reopened, synchronize ] +permissions: + contents: read + jobs: update_release_draft: runs-on: ubuntu-latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 081e9642..b5ce90ec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,9 @@ on: release: types: [created] +permissions: + contents: write + jobs: upload: if: startsWith(github.ref, 'refs/tags/v')