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: jobs:
build: build:
name: "Build & Upload source maps to Sentry" 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 runs-on: ubuntu-latest
environment: develop environment: develop
steps: steps: