Skip to content

Commit fdc02c7

Browse files
committed
Fixed caching of the linting workflow
1 parent 1aec64d commit fdc02c7

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/linting.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: Linting
22

3-
on: pull_request
3+
on:
4+
pull_request:
5+
6+
# Running on main ensures a cache is available for PRs to reuse
7+
push:
8+
branches:
9+
- main
410

511
# GitHub Action cannot handle this if this workflow is required
612
# paths:

0 commit comments

Comments
 (0)