From 559540b25b1cc1024a687b336e56521a7512eba0 Mon Sep 17 00:00:00 2001 From: Simon Marty Date: Mon, 7 Jul 2025 16:24:04 -0700 Subject: [PATCH] Specify write permissions on the major version bump action Signed-off-by: Simon Marty --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7d8749d..47c147e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,9 @@ on: release: types: [created] +permissions: + contents: write + jobs: update-tag: runs-on: ubuntu-latest @@ -17,4 +20,4 @@ jobs: git config user.email "$(git log -n 1 --pretty=format:%ae)" echo "Updating ${MAJOR} tag" git tag -fa ${MAJOR} -m "Update major version tag" - git push origin ${MAJOR} --force \ No newline at end of file + git push origin ${MAJOR} --force