File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 55
66on :
77 push :
8+ branches-ignore :
9+ - ' dependabot/**'
810 paths-ignore :
911 - ' **.gitattributes'
1012 - ' **.gitignore'
3840 name : jsonurl-maven-repository
3941 path : snapshot/*
4042 - name : Publish gh-pages
41- if : ${{ success() && github.repository_owner == 'jsonurl' && github.ref == 'refs/heads/main' }}
43+ if : ${{ success() && github.event.repository.fork == false && github.ref == 'refs/heads/main' }}
4244 run : >
4345 script/deploy_ghpages.sh
4446 'doc: Update by action ${{ github.workflow }}.${{ github.job }}/${{ github.run_id }} on behalf of ${{ github.actor }} for ${{ github.event_name }} ${{ github.sha }}'
7375
7476 snyk :
7577 needs : artifact
76- if : ${{ needs.artifact.result == 'success' && github.repository_owner == 'jsonurl' && ( github.event_name == 'push' || github.event.pull_request.author_association == 'OWNER' || github.event.pull_request.author_association == 'MEMBER' || github.event.pull_request.author_association == 'COLLABORATOR' ) }}
78+ if : ${{ needs.artifact.result == 'success' && github.event.repository.fork == false && ( github.event_name == 'push' || github.event.pull_request.author_association == 'OWNER' || github.event.pull_request.author_association == 'MEMBER' || github.event.pull_request.author_association == 'COLLABORATOR' ) }}
7779 runs-on : ubuntu-latest
7880 steps :
7981 - uses : actions/checkout@v2
8486
8587 sonarcloud :
8688 needs : artifact
87- if : ${{ needs.artifact.result == 'success' && github.event.repository.fork == false && github.event.pusher.name != 'dependabot[bot]' && ( github.event_name == 'push' || github.event.pull_request.author_association == 'OWNER' || github.event.pull_request.author_association == 'MEMBER' || github.event.pull_request.author_association == 'COLLABORATOR' ) }}
89+ if : ${{ needs.artifact.result == 'success' && github.event.repository.fork == false && ( github.event_name == 'push' || github.event.pull_request.author_association == 'OWNER' || github.event.pull_request.author_association == 'MEMBER' || github.event.pull_request.author_association == 'COLLABORATOR' ) }}
8890 runs-on : ubuntu-latest
8991 steps :
9092 - uses : actions/checkout@v2
You can’t perform that action at this time.
0 commit comments