-
-
Notifications
You must be signed in to change notification settings - Fork 86
40 lines (35 loc) · 1.14 KB
/
wpt-updater.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
name: Update WPT
on:
schedule:
- cron: '0 0 * * *'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
concurrency:
group: wpt-updater
cancel-in-progress: true
permissions:
contents: read
jobs:
issue:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v3.6.0
- name: Fetch tests
run: tools/update-wpt.sh
- name: Open pull request
uses: peter-evans/create-pull-request@284f54f989303d2699d373481a0cfa13ad5a6666 #v5.0.1
with:
token: ${{ secrets.GH_PAT }}
commit-message: "test: update web platform tests"
branch: "automatic-update-wpt"
title: "Update web platform tests"
body: |
This is an automated pull request for updating the WPT.
- [Web Platform Tests](https://github.com/web-platform-tests/wpt/tree/master/url)
- [Commit History](https://github.com/web-platform-tests/wpt/commits/master/url/resources)
cc @anonrig @lemire
team-reviewers: core
delete-branch: true