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

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

* Fix contexts
This commit is contained in:
Michael Telatynski 2022-06-14 11:30:12 +01:00 committed by GitHub
parent 2c0965c240
commit 2ea12ea68d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,8 @@ on:
jobs:
build:
name: "Build & Upload source maps to Sentry"
# Only respect triggers from our develop branch, ignore that of forks
if: github.repository == 'vector-im/element-web'
runs-on: ubuntu-latest
environment: develop
steps: