From ad8b43467e969c4c9dc48d4225e4503f4e6a25b2 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Sat, 10 Apr 2021 00:27:02 -0500 Subject: [PATCH] devops: trigger Firefox Stable builds (#6174) References #5993 --- .../trigger_build_firefox_stable.yml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/trigger_build_firefox_stable.yml diff --git a/.github/workflows/trigger_build_firefox_stable.yml b/.github/workflows/trigger_build_firefox_stable.yml new file mode 100644 index 0000000000..a0638e8704 --- /dev/null +++ b/.github/workflows/trigger_build_firefox_stable.yml @@ -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 }}