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 fdbaa16c38
commit f17d0c0cb1
2 changed files with 2 additions and 2 deletions

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: