Skip to content

Commit 9c0930d

Browse files
author
builderdev212
committed
fix workflows
1 parent a490c51 commit 9c0930d

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

.github/workflows/black.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
name: black
22
on:
33
push:
4-
- "problems/**.py"
5-
- .github/workflows/black.yml
4+
paths: ["problems/**.py", ".github/workflows/black.yml"]
65
pull_request:
7-
- "problems/**.py"
8-
- .github/workflows/black.yml
6+
paths: ["problems/**.py", ".github/workflows/black.yml"]
97
jobs:
108
linter_name:
119
name: runner / black formatter

.github/workflows/cocotb.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
name: cocotb
22
on:
33
push:
4-
- "problems/**.v"
5-
- "problems/**.py"
6-
- .github/workflows/cocotb.yml
4+
paths: ["problems/**.v", "problems/**.py", ".github/workflows/cocotb.yml"]
75
pull_request:
8-
- "problems/**.v"
9-
- "problems/**.py"
10-
- .github/workflows/cocotb.yml
6+
paths: ["problems/**.v", "problems/**.py", ".github/workflows/cocotb.yml"]
117
jobs:
128
cocotb-container:
139
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)