Skip to content

Commit

Permalink
ci: persist checkout token to git for the release workflow [skip ci]
Browse files Browse the repository at this point in the history
Signed-off-by: Tomer Figenblat <[email protected]>
  • Loading branch information
TomerFi authored Oct 6, 2022
1 parent 1ba89fb commit ced64f4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.OCM_BOT_PAT }}
persist-credentials: true

- name: Determine next SemVer
id: bumper
Expand All @@ -41,11 +42,6 @@ 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 ced64f4

Please sign in to comment.