From 8f6d543251d39ce2987518a57d135f3a55262890 Mon Sep 17 00:00:00 2001 From: Marcin Bruzda <94437843+mbruzda-splunk@users.noreply.github.com> Date: Tue, 28 May 2024 13:46:55 +0200 Subject: [PATCH] ci: use internal update-semver action (#129) Use internal update-semver action JIRA: https://splunk.atlassian.net/browse/ADDON-68596 --- .github/workflows/main.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 81f5f7b..126265c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -102,9 +102,14 @@ jobs: update-semver: if: startsWith(github.ref, 'refs/tags/v') needs: build_action - permissions: - contents: write runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: haya14busa/action-update-semver@v1 + - uses: splunk/addonfactory-update-semver@v1 + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN_ADMIN }} + with: + git_committer_name: ${{ secrets.SA_GH_USER_NAME }} + git_committer_email: ${{ secrets.SA_GH_USER_EMAIL }} + gpg_private_key: ${{ secrets.SA_GPG_PRIVATE_KEY }} + passphrase: ${{ secrets.SA_GPG_PASSPHRASE }}