diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c66b0f4b..93b4bc49 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -93,6 +93,8 @@ jobs: # Prepare a draft release for GitHub Releases page for the manual verification # If accepted and published, release workflow would be triggered releaseDraft: + permissions: + contents: write name: Release Draft if: github.event_name != 'pull_request' needs: build diff --git a/.github/workflows/jetbrains-compliance.yml b/.github/workflows/jetbrains-compliance.yml index da87f58a..b006744a 100644 --- a/.github/workflows/jetbrains-compliance.yml +++ b/.github/workflows/jetbrains-compliance.yml @@ -8,6 +8,10 @@ on: jobs: compliance-check: + permissions: + contents: read + issues: write + pull-requests: write runs-on: ubuntu-latest name: JetBrains Compliance Linting diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7bb3b3b8..ae40dc5b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,9 @@ jobs: # Prepare and publish the plugin to the Marketplace repository release: + permissions: + contents: write + pull-requests: write name: Publish Plugin runs-on: ubuntu-latest steps: