diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b91b8e3720..0c7bbc46fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}" }, { @@ -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 }}" diff --git a/ci/spec.yml b/ci/spec.yml index 9d154b1d93..c453197e17 100644 --- a/ci/spec.yml +++ b/ci/spec.yml @@ -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 @@ -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 }}