devops: trigger Firefox Stable builds (#6174)

References #5993
This commit is contained in:
Andrey Lushnikov 2021-04-10 00:27:02 -05:00 committed by GitHub
parent 17c6406e6c
commit ad8b43467e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,24 @@
name: "Firefox Stable Builder"
on:
push:
branches:
- master
- release-*
paths:
- browser_patches/firefox-stable/BUILD_NUMBER
- .github/workflows/trigger_build_firefox_stable.yml
jobs:
trigger:
name: "trigger"
runs-on: ubuntu-20.04
steps:
- run: |
curl -X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${GH_TOKEN}" \
--data '{"event_type": "build_firefox_stable"}' \
https://api.github.com/repos/microsoft/playwright-internal/dispatches
env:
GH_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}