From 459b5ccaf93457d26a36600765573c230ca4d21a Mon Sep 17 00:00:00 2001 From: James Salter Date: Mon, 1 Nov 2021 13:00:51 +0000 Subject: [PATCH] Add notify-element-web job (#7062) This triggers a repository_dispatch event in element-web which allows that repo to run new CI actions for EW with the new SDK code --- .github/workflows/develop.yml | 2 +- .github/workflows/notify-element-web.yml | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/notify-element-web.yml diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 4f9826391a..456c97d580 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -10,7 +10,7 @@ on: jobs: end-to-end: runs-on: ubuntu-latest - env: + env: PR_NUMBER: ${{github.event.number}} container: vectorim/element-web-ci-e2etests-env:latest steps: diff --git a/.github/workflows/notify-element-web.yml b/.github/workflows/notify-element-web.yml new file mode 100644 index 0000000000..ef463784f3 --- /dev/null +++ b/.github/workflows/notify-element-web.yml @@ -0,0 +1,15 @@ +name: Notify element-web +on: + push: + branches: [develop] +jobs: + notify-element-web: + runs-on: ubuntu-latest + environment: develop + steps: + - name: Notify element-web repo that a new SDK build is on develop + uses: peter-evans/repository-dispatch@v1 + with: + token: ${{ secrets.ELEMENT_WEB_NOTIFY_TOKEN }} + repository: vector-im/element-web + event-type: element-web-notify