Skip to content

check_updates

check_updates #10

# 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