Skip to content

Commit a490c51

Browse files
committed
change on what changes runners are run
1 parent 07f81c8 commit a490c51

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.github/workflows/black.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
name: black
2-
on: [push, pull_request]
2+
on:
3+
push:
4+
- "problems/**.py"
5+
- .github/workflows/black.yml
6+
pull_request:
7+
- "problems/**.py"
8+
- .github/workflows/black.yml
39
jobs:
410
linter_name:
511
name: runner / black formatter

.github/workflows/cocotb.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
name: cocotb
2-
on: [push, pull_request]
2+
on:
3+
push:
4+
- "problems/**.v"
5+
- "problems/**.py"
6+
- .github/workflows/cocotb.yml
7+
pull_request:
8+
- "problems/**.v"
9+
- "problems/**.py"
10+
- .github/workflows/cocotb.yml
311
jobs:
412
cocotb-container:
513
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)