Skip to content

check_updates

check_updates #226

Workflow file for this run

name: check_updates
on:
workflow_dispatch:
schedule:
# do this once per day
- cron: "0 7 * * *"
jobs:
build:
name: check updates
if: github.repository == 'dprint/dprint-plugin-ruff'
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- name: Clone repository
uses: actions/checkout@v2
with:
token: ${{ secrets.GH_DPRINTBOT_PAT }}
- uses: denoland/setup-deno@v1
- uses: dsherret/rust-toolchain-file@v1
- name: Run script
run: |
git config user.email "[email protected]"
git config user.name "dprintbot"
deno run -A ./scripts/update.ts