Skip to content

Commit 33e16f1

Browse files
committed
Don't run rustfmt and clippy multiple times per PR
Signed-off-by: Daniel Egger <[email protected]>
1 parent 63b5e38 commit 33e16f1

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/clippy.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
on: [push, pull_request]
1+
on:
2+
push:
3+
branches: [ staging, trying, master ]
4+
pull_request:
25

36
name: Clippy check
47
jobs:

.github/workflows/rustfmt.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
on: [push, pull_request]
1+
on:
2+
push:
3+
branches: [ staging, trying, master ]
4+
pull_request:
25

36
name: Code formatting check
47

0 commit comments

Comments
 (0)