Weekly #47
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Weekly | |
on: | |
schedule: | |
# Weekly at midnight Monday morning | |
- cron: 0 8 * * 1 | |
workflow_dispatch: {} | |
permissions: read-all | |
jobs: | |
trunk_upgrade: | |
name: Upgrade Trunk | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write # For trunk to create PRs | |
pull-requests: write # For trunk to create PRs | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- 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: Trunk Upgrade | |
uses: ./upgrade # external users: use trunk-io/trunk-action/upgrade@v1 | |
with: | |
github-token: ${{ steps.generate-token.outputs.token }} | |
reviewers: TylerJang27 |