Skip to content

Commit f806ac3

Browse files
Technologicatclaude
andcommitted
Run the coverage workflow on every branch
Previously only the default branch, so a coverage run existed for work that had already landed and for nothing in progress. Dependabot's branches stay out. GitHub treats a run it triggers as coming from a fork and hands it Dependabot secrets rather than Actions secrets, so `CODECOV_TOKEN` resolves empty and the upload fails; a bump's coverage run is the one on the default branch after it merges. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent a085c94 commit f806ac3

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎.github/workflows/coverage.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ name: Coverage
77

88
on:
99
push:
10-
branches: [ master ]
10+
# Every branch, so work in progress gets the same coverage run as `master` does.
11+
# Dependabot's are the exception: GitHub hands its runs Dependabot secrets rather than Actions
12+
# secrets, so `CODECOV_TOKEN` would be empty and the upload would fail on every bump. A bump's
13+
# coverage run is the one that happens on `master` after it merges.
14+
branches-ignore: ['dependabot/**']
1115
workflow_dispatch:
1216

1317
permissions:

0 commit comments

Comments
 (0)