Update GitHub Actions #6
This file contains hidden or 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: Update GitHub Actions | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 0 * * 0' # Run every Sunday at midnight | |
| jobs: | |
| update-actions: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Create temporary GitHub App Token | |
| id: app | |
| uses: actions/create-github-app-token@v2 | |
| with: | |
| owner: ${{ github.repository_owner }} | |
| app-id: ${{ vars.HOUSEKEEPING_BOT_APP_ID }} | |
| private-key: ${{ secrets.HOUSEKEEPING_BOT_PRIVATE_KEY }} | |
| - name: Update GitHub Actions | |
| uses: alchemaxinc/update-deps/actions@v1 | |
| with: | |
| token: ${{ steps.app.outputs.token }} | |
| auto-merge: 'true' | |
| base-branch: 'main' | |
| prefixes: 'actions' | |
| file-glob: '.github/**/*.yml' | |
| branch-prefix: 'update-actions' | |
| pr-title: 'chore: Update GitHub Actions' | |
| commit-message: 'chore: update github actions' |