Skip to content

Commit

Permalink
include token
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerJang27 committed Jan 1, 2024
1 parent 7abd0a9 commit 93bf898
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/upload_results.reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,13 @@ jobs:
run: |
git ls-files --others --exclude-standard | grep ".shot" | xargs sed -i '2i // trunk-upgrade-validation:RELEASE'
- name: Create App Token for TrunkBuild App (Internal)
uses: tibdex/github-app-token@v1
id: generate-token
with:
app_id: ${{ secrets.TRUNK_OPEN_PR_APP_ID }}
private_key: ${{ secrets.TRUNK_OPEN_PR_APP_PRIVATE_KEY }}

- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
Expand All @@ -267,5 +274,5 @@ jobs:
add-paths: "**/*.shot"
commit-message: Auto add snapshots
delete-branch: true
github-token: ${{ steps.generate-token.outputs.token }}
reviewers: TylerJang27
# token: ${{ inputs.github-token }}

0 comments on commit 93bf898

Please sign in to comment.