Use a more robust detection for forks. (#160)

This commit is contained in:
Doug
2022-08-12 14:45:56 +01:00
committed by GitHub
parent 2cb6dc1cd9
commit b6e1d6d1e5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ on: [pull_request]
jobs:
build:
# Don't run for forks as secrets are unavailable.
if: github.repository == 'vector-im/element-x-ios'
if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
name: Danger
steps:
+1 -1
View File
@@ -11,7 +11,7 @@ on:
jobs:
build:
# Don't run for forks as secrets are unavailable.
if: github.repository == 'vector-im/element-x-ios'
if: github.event.pull_request.head.repo.full_name == github.repository
name: Release
runs-on: macos-12