-
-
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@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Fetch tests
run: tools/update-wpt.sh
- name: Open pull request
uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e #v6.0.5
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