[READ-ONLY] Mirror of https://github.com/bombshell-dev/automation. GitHub Actions for the Bombshell organization
ci
0

Configure Feed

Select the types of activity you want to include in your feed.

Update format.yml

authored by

Nate Moore and committed by
GitHub
(Nov 1, 2024, 9:01 PM -0500) d6d71ff4 17f1808b

+10 -2
+10 -2
format.yml
··· 14 14 if: github.repository_owner == 'bombshell-dev' 15 15 runs-on: ubuntu-latest 16 16 steps: 17 + - name: Generate a token 18 + id: bot-token 19 + uses: actions/create-github-app-token@v1 20 + with: 21 + app-id: ${{ vars.BOT_APP_ID }} 22 + private-key: ${{ secrets.BOT_PRIVATE_KEY }} 23 + 17 24 - uses: actions/checkout@v4 18 25 with: 19 26 ref: ${{ github.head_ref }} 20 - # Needs access to push to main 21 - token: ${{ secrets.BOT_ACCESS_TOKEN }} 27 + token: ${{ steps.bot-token.outputs.token }} 22 28 23 29 - name: Setup PNPM 24 30 uses: pnpm/action-setup@v4 ··· 37 43 38 44 - name: Commit changes 39 45 uses: stefanzweifel/git-auto-commit-action@v5 46 + env: 47 + GH_TOKEN: ${{ steps.bot-token.outputs.token }} 40 48 with: 41 49 commit_message: "[ci] format" 42 50 branch: ${{ github.head_ref }}