diff --git a/.github/workflows/danger.yml b/.github/workflows/danger.yml index a1b78482f..2073ae2c8 100644 --- a/.github/workflows/danger.yml +++ b/.github/workflows/danger.yml @@ -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: diff --git a/.github/workflows/release-alpha.yml b/.github/workflows/release-alpha.yml index 8ad9ed741..4d4d69442 100644 --- a/.github/workflows/release-alpha.yml +++ b/.github/workflows/release-alpha.yml @@ -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