Fix CI for forks (#3226)
* Try with a different condition for forks * Skip danger in forks, the fallback token won't let it write comments in PRs anyway
This commit is contained in:
parent
a27d2769d1
commit
cbad91e4c4
9 changed files with 25 additions and 23 deletions
2
.github/workflows/build_enterprise.yml
vendored
2
.github/workflows/build_enterprise.yml
vendored
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
name: Build Enterprise APKs
|
||||
runs-on: ubuntu-latest
|
||||
# Skip in forks
|
||||
if: github.repository == 'element-hq/element-x-android'
|
||||
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }}
|
||||
strategy:
|
||||
matrix:
|
||||
variant: [debug, release, nightly]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue