Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
},
{
"name": "Validate push commit messages",
"if": "github.event_name == 'push' && (github.repository_owner != 'tjcsl' || github.ref != 'refs/heads/master' || github.ref != 'refs/heads/dev')",
"if": "github.event_name == 'push' && (github.repository_owner != 'tjcsl' || github.ref != 'refs/heads/master' || github.ref != 'refs/heads/dev') && github.actor != 'dependabot[bot]'",
"run": "git fetch origin ${{ github.event.before }} && ./scripts/validate-commit-messages.py ${{ github.event.before }}..${{ github.event.after }}"
},
{
Expand Down Expand Up @@ -269,7 +269,7 @@
{
"name": "Report coverage to Codacy",
"uses": "codacy/codacy-coverage-reporter-action@master",
"if": "github.repository_owner == 'tjcsl' && github.event_name != 'pull_request'",
"if": "github.repository_owner == 'tjcsl' && github.event_name != 'pull_request' && github.actor != 'dependabot[bot]'",
"with": {
"coverage-reports": "coverage.xml",
"project-token": "${{ secrets.CODACY_PROJECT_TOKEN }}"
Expand Down
4 changes: 2 additions & 2 deletions ci/spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
run: ./scripts/validate-commit-messages.py ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}
- name: Validate push commit messages
# Validate commit messages for forks and branches that aren't dev or master
if: "github.event_name == 'push' && (github.repository_owner != 'tjcsl' || github.ref != 'refs/heads/master' || github.ref != 'refs/heads/dev')"
if: "github.event_name == 'push' && (github.repository_owner != 'tjcsl' || github.ref != 'refs/heads/master' || github.ref != 'refs/heads/dev') && github.actor != 'dependabot[bot]'"
run: 'git fetch origin ${{ github.event.before }} && ./scripts/validate-commit-messages.py ${{ github.event.before }}..${{ github.event.after }}'

# Build/push docs
Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
run: coverage xml
- name: Report coverage to Codacy
uses: codacy/codacy-coverage-reporter-action@master
if: github.repository_owner == 'tjcsl' && github.event_name != 'pull_request'
if: github.repository_owner == 'tjcsl' && github.event_name != 'pull_request' && github.actor != 'dependabot[bot]'
with:
coverage-reports: coverage.xml
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
Expand Down