From 2920a0fb8454acc0641c7ef2f1cdac1c076aced3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Anne?= Date: Fri, 16 Feb 2024 17:56:25 +0100 Subject: [PATCH] Add a note about "Publish release" workflow required permissions --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3552660..930c972 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,10 @@ This workflow will publish a release corresponding to the given tag. You can use this workflow using the following Github Actions configuration. The only requirement is the presence of the `glpi-project/tools` in the composer (dev) dependencies of the plugin. +This workflow will require the `contents: "write"` permission to be able to create a release. ```yaml -name: "Plugin release" +name: "Publish release" on: push: @@ -17,6 +18,8 @@ on: jobs: publish-release: + permissions: + contents: "write" name: "Publish release" uses: "glpi-project/plugin-release-workflows/.github/workflows/publish-release.yml@v1" with: