diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0ab67b8..874fe42 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,7 +32,7 @@ jobs: submodules: false persist-credentials: false - name: Semantic release - uses: splunk/semantic-release-action@v1.3.7 + uses: ./ env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN_ADMIN }} with: @@ -50,3 +50,10 @@ jobs: steps: - uses: actions/checkout@v4 - 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 }} diff --git a/.releaserc b/.releaserc index 1732eb3..8e8830d 100644 --- a/.releaserc +++ b/.releaserc @@ -7,28 +7,6 @@ ], plugins: [ - "@semantic-release/commit-analyzer", - [ - "@google/semantic-release-replace-plugin", - { - "replacements": [ - { - "files": [".github/workflows/release.yml"], - "from": "uses: splunk/semantic-release-action@.*", - "to": "uses: splunk/semantic-release-action@v${nextRelease.version}", - "results": [ - { - "file": ".github/workflows/release.yml", - "hasChanged": true, - "numMatches": 1, - "numReplacements": 1 - } - ], - "countMatches": true - } - ] - } - ], "@semantic-release/commit-analyzer", [ "@semantic-release/exec",