Skip running jobs on fork develop where they lack secrets (#8837)

* Skip running jobs on fork `develop` where they lack secrets

* Fix contexts
This commit is contained in:
Michael Telatynski
2022-06-14 11:37:07 +01:00
committed by GitHub
parent 2c751a4fa6
commit 79195dea8b
3 changed files with 7 additions and 4 deletions

View File

@@ -8,6 +8,8 @@ jobs:
notify-element-web:
name: "Notify Element Web"
runs-on: ubuntu-latest
# Only respect triggers from our develop branch, ignore that of forks
if: github.repository == 'matrix-org/matrix-react-sdk'
steps:
- name: Notify element-web repo that a new SDK build is on develop
uses: peter-evans/repository-dispatch@v1