Skip to content

Commit

Permalink
👷 Use Jack's PAT when creating release pull request
Browse files Browse the repository at this point in the history
As a rule we use Jack as our default choice for automation because
unlike the standard github actions bot:

1. It's cooler.
2. It allows workflows to be triggered whenever he takes an action

For example, without using Jack, we would not be able to have another
workflow begin as a result of the release pull request being opened.

This just makes sure to pass his github token on to the pull request.
  • Loading branch information
cowboyd committed Sep 17, 2024
1 parent 93015f6 commit 14cb056
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/covector-comment-on-form.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ jobs:
- name: covector status
uses: jbolda/covector/packages/action@covector-v0
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.FRONTSIDEJACK_GITHUB_TOKEN }}
command: "status"
1 change: 1 addition & 0 deletions .github/workflows/covector-version-or-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
uses: peter-evans/create-pull-request@v6
if: steps.covector.outputs.commandRan == 'version'
with:
token: ${{ secrets.FRONTSIDEJACK_GITHUB_TOKEN }}
title: "Publish New Versions"
commit-message: "publish new versions"
labels: "version updates"
Expand Down

0 comments on commit 14cb056

Please sign in to comment.