Add explicit permissions to GitHub Actions workflows
Release / Build and Release (push) Canceled after 0s
Release / Build and Release (push) Canceled after 0s
This commit is contained in:
1 parent
bfac63799b
commit
2f4d88f8dd
2 files changed
+12
-8
No files matched your search
@@ -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 }}
|
||||
Reference in new issue
Block a user