Skip to content

Commit 9032213

Browse files
committed
Skip coverage upload for Dependabot PRs
1 parent 2b43f63 commit 9032213

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/execute-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464

6565
- name: Upload coverage
6666
uses: codecov/codecov-action@v4
67-
if: ${{ inputs.os == 'ubuntu-latest' && matrix.python-version == '3.9' && (github.event_name != 'pull_request' || !github.event.pull_request.head.repo.fork) }}
67+
if: ${{ inputs.os == 'ubuntu-latest' && matrix.python-version == '3.9' && (github.event_name != 'pull_request' || (!github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]')) }}
6868
with:
6969
token: ${{ secrets.CODECOV_TOKEN }}
7070
fail_ci_if_error: true

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ VIRTUAL_ENV ?= .venv
1616
all: doctor format check test mkdocs demo ## Run all tasks that determine CI status
1717

1818
.PHONY: dev
19-
dev: install .clean-test ## Continuously run all CI tasks when files chanage
19+
dev: install .clean-test ## Continuously run all CI tasks when files change
2020
poetry run sniffer
2121

2222
.PHONY: dev-install
@@ -69,7 +69,7 @@ format: install
6969
@ echo
7070

7171
.PHONY: check
72-
check: install format ## Run formaters, linters, and static analysis
72+
check: install format ## Run formatters, linters, and static analysis
7373
ifdef CI
7474
git diff --exit-code -- '***.py'
7575
endif

0 commit comments

Comments
 (0)