Autoroll #1186
This file contains 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: Autoroll | |
on: | |
schedule: | |
- cron: '0 10 * * *' | |
workflow_dispatch: | |
inputs: | |
checkVersions: | |
description: 'Check V8 versions' | |
default: true | |
type: boolean | |
push: | |
branches: [autoroll] | |
permissions: write-all | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- uses: denoland/setup-deno@main | |
with: | |
deno-version: v1.x | |
- name: Setup Git user | |
run: | | |
git config --global user.name "github-actions[bot]" | |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
git config --global user.password ${{ github.token }} | |
git config --global url."https://${{ github.actor }}:${{ github.token }}@github.com/".insteadOf "https://github.com/" | |
- name: Run autoroll script | |
env: | |
CHECK_V8_VERSIONS: ${{ github.events.inputs.checkVersions }} | |
run: deno run -A ./autoroll.ts | |