Add explicit permissions to GitHub Actions workflows
Release / Build and Release (push) Canceled after 0s

This commit is contained in:
marcus committed 2025-04-18 14:43:19 +01:00
1 parent bfac63799b
commit 2f4d88f8dd
2 files changed
+12 -8

No files matched your search

+3 -1
View File
@@ -10,6 +10,8 @@ jobs:
build:
name: Build and Release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v3
@@ -60,7 +62,7 @@ jobs:
prerelease: false
body: |
Release of version ${{ env.VERSION }}
See [CHANGELOG.md](https://github.com/wpallstars/wp-plugin-starter-template-for-ai-coding/blob/main/CHANGELOG.md) for details.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}