Skip to content

Commit 5b73c80

Browse files
authored
fix: update workflows (#353)
* fix: update workflows * build: disable codeql due to rate limiting * fix: use a different github workflow
1 parent 5914737 commit 5b73c80

File tree

3 files changed

+10
-59
lines changed

3 files changed

+10
-59
lines changed

.github/workflows/codeql.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.github/workflows/release_prepare.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,5 @@ jobs:
4949
token: ${{ env.GITHUB_TOKEN }}
5050
body: |
5151
This pull PR updates the source code version to ${{ env.NEXT_RELEASE_TAG }}
52+
delete-branch: true
53+
reviewers: "lemire,anonrig"

.github/workflows/wpt-updater.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ on:
66
- cron: '0 0 * * *'
77

88
permissions:
9-
contents: read
9+
contents: write
10+
pull-requests: write
1011

1112
jobs:
1213
issue:
@@ -18,14 +19,13 @@ jobs:
1819
- name: Fetch tests
1920
run: tools/update-wpt.sh
2021
- name: Open pull request
21-
uses: gr2m/create-or-update-pull-request-action@v1
22-
env:
23-
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
22+
uses: peter-evans/create-pull-request@f3a21bf3404eae73a97f65817ab35f351a1a63fe #v5.0.0
23+
token: ${{ secrets.GITHUB_TOKEN }}
2424
with:
25+
commit-message: "test: update web platform tests"
26+
branch: "automatic-update-wpt"
2527
title: "Update web platform tests"
2628
body: "This is an automated pull request for updating the WPT"
27-
branch: "automatic-update-wpt"
28-
author: "WPT Updater <yagiz@nizipli.com>"
2929
path: "tests/wpt"
30-
commit-message: "test: update web platform tests"
31-
reviewers: lemire # anonrig can'be added since github token belongs to him.
30+
reviewers: "lemire,anonrig"
31+
delete-branch: true

0 commit comments

Comments
 (0)