Skip to content

Commit 81b4dbe

Browse files
bckohanCopilot
andauthored
only run tests on PRs when necessary - add workflow trigger to scorecard (#216)
* only run tests on PRs when necessary - add workflow trigger to scorecard * Update .github/workflows/test.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 9b4f902 commit 81b4dbe

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/scorecard.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
88
push:
99
branches: [ main ]
10+
workflow_dispatch:
1011

1112
permissions: read-all
1213

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ on:
1010
branches: ['main']
1111
pull_request:
1212
branches: ['main']
13+
paths:
14+
- "src/**"
15+
- "tests/**"
16+
- ".github/workflows/test.yml"
17+
- "pyproject.toml"
18+
- "justfile"
1319
workflow_call:
1420
secrets:
1521
CODECOV_TOKEN:

0 commit comments

Comments
 (0)