0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-11-24 15:19:31 -05:00

Use denobot account for auto-rolling (#992)

This commit is contained in:
Luca Casonato 2022-05-28 17:16:00 +02:00 committed by GitHub
parent fe3d2b0d50
commit 65692e80eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 5 deletions

View file

@ -1,13 +1,14 @@
name: ci
on: [push, pull_request]
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: ${{ matrix.config.variant }} ${{ matrix.config.target }}
if: |
github.event_name == 'push' ||
!startsWith(github.event.pull_request.head.label, 'denoland:')
runs-on: ${{ matrix.config.os }}
timeout-minutes: 120
strategy:

View file

@ -12,6 +12,8 @@ jobs:
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Fetch origin/main
run: git fetch origin main
- uses: denoland/setup-deno@main
with:
deno-version: v1.x
@ -24,4 +26,4 @@ jobs:
git remote set-url origin https://${{ secrets.DENOBOT_PAT }}@github.com/denoland/rusty_v8.git
- run: deno run -A ./tools/auto_update_v8.ts
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.DENOBOT_PAT }}