mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 03:06:14 +00:00
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:
committed by
GitHub
parent
a27d2769d1
commit
cbad91e4c4
@@ -12,7 +12,7 @@ jobs:
|
||||
- name: Update Gradle Wrapper
|
||||
uses: gradle-update/update-gradle-wrapper-action@v1
|
||||
# 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' }}
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
target-branch: develop
|
||||
|
||||
Reference in New Issue
Block a user