interfaces.yml (1657B)
1 name: interfaces 2 on: 3 # Trigger at every UTC noon, or manually. 4 schedule: 5 - cron: 0 12 * * * 6 workflow_dispatch: 7 jobs: 8 update: 9 runs-on: ubuntu-24.04 10 if: github.repository == 'web-platform-tests/wpt' 11 steps: 12 - name: Checkout 13 uses: actions/checkout@v4 14 - name: Run interfaces_update.sh 15 run: ./tools/ci/interfaces_update.sh 16 - name: Create pull request 17 uses: peter-evans/create-pull-request@v6 18 with: 19 token: ${{ secrets.GITHUB_TOKEN }} 20 author: wpt-pr-bot <wpt-pr-bot@users.noreply.github.com> 21 # env.webref_idl_version is set by interfaces_update.sh 22 title: "Sync interfaces/ with @webref/idl ${{ env.webref_idl_version }}" 23 commit-message: "Sync interfaces/ with @webref/idl ${{ env.webref_idl_version }}" 24 body: | 25 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 }}). 26 27 Before merging, please check that any tests that depend on the updated IDL files still work. In particular, check for **gray boxes as the wpt.fyi check status**, which usually means that some tests have regressed. 28 29 If additional changes are needed, please manually create another PR based on this one. 30 31 See the [workflow](https://github.com/web-platform-tests/wpt/blob/master/.github/workflows/interfaces.yml) for how this pull request was created, and the [README](https://github.com/web-platform-tests/wpt/blob/master/interfaces/README.md) for how the IDL files in this directory are used. 32 branch: actions/update-idl