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

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

* Fix contexts
pull/22577/head
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
1 changed files with 2 additions and 0 deletions

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: