File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 115115 },
116116 {
117117 " name " : " Validate push commit messages" ,
118- " if " : " github.event_name == 'push' && (github.repository_owner != 'tjcsl' || github.ref != 'refs/heads/master' || github.ref != 'refs/heads/dev')" ,
118+ " if " : " github.event_name == 'push' && (github.repository_owner != 'tjcsl' || github.ref != 'refs/heads/master' || github.ref != 'refs/heads/dev') && github.actor != 'dependabot[bot]' " ,
119119 " run " : " git fetch origin ${{ github.event.before }} && ./scripts/validate-commit-messages.py ${{ github.event.before }}..${{ github.event.after }}"
120120 },
121121 {
269269 {
270270 " name " : " Report coverage to Codacy" ,
271271 " uses " : " codacy/codacy-coverage-reporter-action@master" ,
272- " if " : " github.repository_owner == 'tjcsl' && github.event_name != 'pull_request'" ,
272+ " if " : " github.repository_owner == 'tjcsl' && github.event_name != 'pull_request' && github.actor != 'dependabot[bot]' " ,
273273 " with " : {
274274 " coverage-reports " : " coverage.xml" ,
275275 " project-token " : " ${{ secrets.CODACY_PROJECT_TOKEN }}"
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ jobs:
118118 run : ./scripts/validate-commit-messages.py ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}
119119 - name : Validate push commit messages
120120 # Validate commit messages for forks and branches that aren't dev or master
121- if : " github.event_name == 'push' && (github.repository_owner != 'tjcsl' || github.ref != 'refs/heads/master' || github.ref != 'refs/heads/dev')"
121+ if : " github.event_name == 'push' && (github.repository_owner != 'tjcsl' || github.ref != 'refs/heads/master' || github.ref != 'refs/heads/dev') && github.actor != 'dependabot[bot]' "
122122 run : ' git fetch origin ${{ github.event.before }} && ./scripts/validate-commit-messages.py ${{ github.event.before }}..${{ github.event.after }}'
123123
124124 # Build/push docs
@@ -240,7 +240,7 @@ jobs:
240240 run : coverage xml
241241 - name : Report coverage to Codacy
242242 uses : codacy/codacy-coverage-reporter-action@master
243- if : github.repository_owner == 'tjcsl' && github.event_name != 'pull_request'
243+ if : github.repository_owner == 'tjcsl' && github.event_name != 'pull_request' && github.actor != 'dependabot[bot]'
244244 with :
245245 coverage-reports : coverage.xml
246246 project-token : ${{ secrets.CODACY_PROJECT_TOKEN }}
You can’t perform that action at this time.
0 commit comments