-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply suggestions from @foolip code review
- Loading branch information
1 parent
3afc523
commit 641f0c1
Showing
5 changed files
with
44 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: update_chromium_revision | ||
on: | ||
# Trigger everyday at 10 UTC. | ||
# Trigger every day at 10 UTC, or manually. | ||
schedule: | ||
- cron: 0 10 * * * | ||
workflow_dispatch: | ||
|
@@ -10,14 +10,15 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: setup python | ||
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: '3.10' | ||
cache: 'pip' | ||
- run: pip install requests | ||
- name: Install dependencies | ||
run: pip install requests | ||
- name: execute update_chromium_revision.py | ||
run: python -m tools.wpt.update_chromium_revision | ||
run: python tools/wpt/update_chromium_revision.py | ||
- name: Create pull request | ||
# Use a conditional step instead of a conditional job to work around #20700. | ||
if: github.repository == 'web-platform-tests/wpt' | ||
|
@@ -26,7 +27,7 @@ jobs: | |
token: ${{ secrets.GITHUB_TOKEN }} | ||
author: wpt-pr-bot <[email protected]> | ||
title: "Update latest available Chromium revisions" | ||
commit-message: "Latest Chromium revision for Linux/Mac/Win" | ||
commit-message: "Latest Chromium revision for Linux/macOS/Windows" | ||
body: | | ||
This automated pull request updates `tools/wpt/latest_chromium_revisions.json` with the current latest available Chromium revisions for major platforms. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
996554 | ||
998197 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters