Merge pull request #5065 from nextcloud/testFixAnalysisForMergeCommits

Try to run analysis also for merge commits
This commit is contained in:
Marcel Hibbe 2025-06-17 10:08:18 +00:00 committed by GitHub
commit 73271018f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Disabled on forks - 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: | run: |
echo 'Can not analyze PRs from forks' echo 'Can not analyze PRs from forks'
exit 1 exit 1