diff --git a/.github/workflows/publish-package-release.yml b/.github/workflows/publish-package-release.yml index 97282167..ea6c0f6a 100644 --- a/.github/workflows/publish-package-release.yml +++ b/.github/workflows/publish-package-release.yml @@ -13,12 +13,8 @@ permissions: id-token: write # Enable the use of GitHub Packages registry packages: write - # Enable `semantic-release` to publish a GitHub release and push commits - contents: write - # Enable `semantic-release` to post comments on issues - issues: write - # Enable `semantic-release` to post comments on pull requests - pull-requests: write + # Enable the CI validation workflow to checkout the repository + contents: read # The release workflow involves many crucial steps that once triggered shouldn't be cancelled until # finished, otherwise we might end up in an inconsistent state (e.g., published to GitHub Packages