devops: add workflow to trigger Chromium builds once revision changes
This commit is contained in:
parent
2096f4248a
commit
86775f06d9
24
.github/workflows/trigger_chromium_build.yml
vendored
Normal file
24
.github/workflows/trigger_chromium_build.yml
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
name: "Chromium Builder"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- release-*
|
||||||
|
paths:
|
||||||
|
- browser_patches/chromium/BUILD_NUMBER
|
||||||
|
- .github/workflows/trigger_chromium_build.yml
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
trigger:
|
||||||
|
name: "trigger"
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
steps:
|
||||||
|
- run: |
|
||||||
|
curl -X POST \
|
||||||
|
-H "Accept: application/vnd.github.v3+json" \
|
||||||
|
-H "Authorization: token ${GH_TOKEN}" \
|
||||||
|
--data '{"event_type": "build_chromium"}' \
|
||||||
|
https://api.github.com/repos/microsoft/playwright-internal/dispatches
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}
|
||||||
Loading…
Reference in a new issue