-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (38 loc) · 1.43 KB
/
regenerate.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
39
40
41
42
name: regenerate
# Declare default permissions as read only.
permissions: read-all
on:
workflow_dispatch:
push:
branches:
- main
concurrency:
group: regenerate-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
ci:
name: '[Required] Regenerate'
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 2
- name: Install cddlconv
run: cargo install [email protected]
- name: Install dependencies
run: npm ci
- name: Build and test
run: npm test
- name: Create Pull Request
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
with:
token: ${{ secrets.BROWSER_AUTOMATION_BOT_TOKEN }}
branch: regenerate
delete-branch: true
committer: Browser Automation Bot <[email protected]>
author: Browser Automation Bot <[email protected]>
commit-message: 'fix: re-generate types based on specifciation updates'
title: 'fix: re-generate types based on specifciation updates'
body: 'Automatically generated by https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/blob/main/.github/workflows/regenerate.yml'
push-to-fork: browser-automation-bot/webdriver-bidi-protocol