Skip to content

Commit

Permalink
ci: set release workflow to use a deploy key [skip ci]
Browse files Browse the repository at this point in the history
Signed-off-by: Tomer Figenblat <[email protected]>
  • Loading branch information
TomerFi committed Oct 6, 2022
1 parent ced64f4 commit 3acc575
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.OCM_BOT_PAT }}
persist-credentials: true
ssh-key: ${{ secrets.DEPLOY_KEY }}

- name: Determine next SemVer
id: bumper
Expand All @@ -42,6 +41,11 @@ jobs:
run: |
npm version ${{ steps.bumper.outputs.new_version }} --no-git-tag-version
- name: Configure git
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
- name: Commit and push package modifications
run: |
git add package.json
Expand Down

0 comments on commit 3acc575

Please sign in to comment.