check_updates #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
| # GENERATED BY ./check_updates.ts -- DO NOT DIRECTLY EDIT | |
| name: check_updates | |
| on: | |
| workflow_dispatch: {} | |
| schedule: | |
| - cron: 0 7 * * * | |
| jobs: | |
| build: | |
| name: check updates | |
| if: github.repository == 'dprint/dprint-plugin-mago' | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 45 | |
| steps: | |
| - name: Clone repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| token: '${{ secrets.GH_DPRINTBOT_PAT }}' | |
| - uses: denoland/setup-deno@667a34cdef165d8d2b2e98dde39547c9daac7282 # v2 | |
| - uses: dsherret/rust-toolchain-file@3551321aa44dd44a0393eb3b6bdfbc5d25ecf621 # v1 | |
| - name: Run script | |
| run: |- | |
| git config user.email "dprintbot@users.noreply.github.com" | |
| git config user.name "dprintbot" | |
| deno run -A ./scripts/update.ts | |
| workflow-keepalive: | |
| if: github.event_name == 'schedule' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: write | |
| steps: | |
| - uses: liskin/gh-workflow-keepalive@f72ff1a1336129f29bf0166c0fd0ca6cf1bcb38c |