Skip to content

Commit

Permalink
fix: give update-semver additional permissions (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
artemrys authored Jul 4, 2023
1 parent bb6f5f7 commit 3ac6eed
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:
with:
python-version: "3.7"
- uses: pre-commit/action@v3.0.0

build_action:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
submodules: recursive
persist-credentials: false
Expand Down Expand Up @@ -88,13 +88,22 @@ jobs:
cache-to: type=inline

- name: Semantic Release
uses: splunk/semantic-release-action@v1.2
uses: splunk/semantic-release-action@v1.3
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 }}
extra_plugins: |
@google/semantic-release-replace-plugin
update-semver:
name: Move Respository semver tags
if: startsWith(github.ref, 'refs/tags/v')
needs: build_action
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 3ac6eed

Please sign in to comment.