mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Auto merge of #29601 - servo:debug-wpt-update-script, r=delan
Fix the WPT export script - Have the WPT exporter script use the WPT_SYNC_TOKEN for checking out wpt. - Make sure the local WPT repository is unshallow when pushing. - When searching for existing PRs use the main GitHub search API, as the pull request search does not seem to properly process the "head" parameter. - When deleting branches in the downstream WPT repository, use the full URL to avoid trying to modify the upstream repository. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] There are tests for these changes OR <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
This commit is contained in:
commit
15de7b99b7
4 changed files with 58 additions and 14 deletions
7
.github/workflows/upstream-wpt-changes.yml
vendored
7
.github/workflows/upstream-wpt-changes.yml
vendored
|
@ -25,7 +25,12 @@ jobs:
|
|||
with:
|
||||
path: wpt
|
||||
repository: 'web-platform-tests/wpt'
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# The token here must be the token that we will use to push to the
|
||||
# WPT repository and not the token used for GitHub actions, because
|
||||
# the checkout action sets up an `extraheader` authorization override
|
||||
# using the token specified here.
|
||||
# See https://github.com/actions/checkout/issues/162.
|
||||
token: ${{ secrets.WPT_SYNC_TOKEN }}
|
||||
- name: Install requirements
|
||||
run: pip install -r servo/etc/ci/upstream-wpt-changes/requirements.txt
|
||||
- name: Process pull request
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue