mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-18 11:09:39 +01:00
Try to run analysis also for merge commits
Trying to fix https://github.com/nextcloud/android-config/pull/248/files which caused that analysis is not only blocked for forks, bit also for merge commits. Solution: If it's not a PR the step should be omitted.. This commit will be checked when workflow runs on github. It will be merged just to test it's working.. Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
e3c83823e6
commit
7111109ac0
2
.github/workflows/analysis.yml
vendored
2
.github/workflows/analysis.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Disabled on forks
|
||||
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
|
||||
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository }}
|
||||
run: |
|
||||
echo 'Can not analyze PRs from forks'
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user