blob: 969209c6fc3030158fa7d37bb57f6a26ac4c5ff4 [file] [edit]
name: interfaces
on:
# Trigger at every UTC noon, or manually.
schedule:
- cron: 0 12 * * *
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run interfaces_update.sh
run: ./tools/ci/interfaces_update.sh
- name: Create pull request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
# env.webref_idl_version is set by interfaces_update.sh
title: "Sync interfaces/ with @webref/idl ${{ env.webref_idl_version }}"
commit-message: "Sync interfaces/ with @webref/idl ${{ env.webref_idl_version }}"
body: |
This automated pull request updates interfaces/*.idl from [@webref/idl ${{ env.webref_idl_version }}](https://www.npmjs.com/package/@webref/idl/v/${{ env.webref_idl_version }}).
Before merging, please check that any tests that depend on the updated IDL files still work.
If additional changes are needed, please manually create another PR based on this one.
See the [README](https://github.com/web-platform-tests/wpt/blob/master/interfaces/README.md) for how the IDL files in this directory are used.
branch: actions/update-idl