Skip to content

Commit 2920a0f

Browse files
committed
Add a note about "Publish release" workflow required permissions
1 parent 9917c20 commit 2920a0f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ This workflow will publish a release corresponding to the given tag.
66

77
You can use this workflow using the following Github Actions configuration.
88
The only requirement is the presence of the `glpi-project/tools` in the composer (dev) dependencies of the plugin.
9+
This workflow will require the `contents: "write"` permission to be able to create a release.
910

1011
```yaml
11-
name: "Plugin release"
12+
name: "Publish release"
1213

1314
on:
1415
push:
@@ -17,6 +18,8 @@ on:
1718

1819
jobs:
1920
publish-release:
21+
permissions:
22+
contents: "write"
2023
name: "Publish release"
2124
uses: "glpi-project/plugin-release-workflows/.github/workflows/publish-release.yml@v1"
2225
with:

0 commit comments

Comments
 (0)