From 3afbdf3dc34dfd1d0a20e48a499062de365de0a0 Mon Sep 17 00:00:00 2001 From: Ales Verbic Date: Mon, 1 Dec 2025 11:29:43 -0500 Subject: [PATCH] fix(CI): add permissions and author Signed-off-by: Ales Verbic --- .github/workflows/publish.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8d59ba3..543c839 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,6 +19,9 @@ on: default: "master" type: string +permissions: + contents: write + jobs: publish: runs-on: ubuntu-latest @@ -72,6 +75,8 @@ jobs: # Remove the org from the repo name GITHUB_REPO_NAME="${GITHUB_REPOSITORY#*/}" + git config --global user.name "github-actions[bot]" + git config --global user.email "github-actions[bot]@users.noreply.github.com" git config --global --add safe.directory "$(pwd -P)" git commit -am "GHA: release version \${VERSION}" git tag v\${VERSION} -am "GHA: publish public-$GITHUB_REPO_NAME v\${VERSION}"