Rewrite Web IDL and submit the results #1206
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: Rewrite Web IDL and submit the results | |
on: | |
workflow_dispatch: | |
schedule: | |
# https://crontab.guru/#0_0_*_*_* | |
- cron: "0 0 * * *" | |
jobs: | |
submit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: lts/* | |
- run: npm ci | |
- run: npm run rewrite | |
- run: npm run submit | |
env: | |
# Intentionally not using GITHUB_TOKEN. | |
# GH_TOKEN will use @autokagami for creating PRs. | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} |