-
Notifications
You must be signed in to change notification settings - Fork 8
38 lines (34 loc) · 1.03 KB
/
autoroll.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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