mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Use a more robust detection for forks. (#160)
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user