Skip to content

Commit

Permalink
ci(release-please): use access token to push.
Browse files Browse the repository at this point in the history
  • Loading branch information
timgreen committed Nov 22, 2022
1 parent f9ac595 commit edd5f15
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ jobs:
git commit -m 'chore(cli): update README.' --no-verify || echo "no update"
- name: push
if: steps.release.outputs.pr
run: git push
# Use personal access token to trigger workflows.
# See https://help.github.com/en/actions/reference/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token
run: git push https://${GITHUB_ACTOR}:${{ secrets.ANKIMD_GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}

# The logic below handles the npm publication:
- uses: actions/checkout@v3
Expand Down

0 comments on commit edd5f15

Please sign in to comment.