Skip to content

Commit 954668b

Browse files
Change to only run CI once on pull requests
Previously it would run twice, for no good reason. This also adds running a weekly build. This may or may not be necessary, but it's part of the new template module so we'll add it for consistency
1 parent 1a2f0a3 commit 954668b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/code.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@ name: Code CI
22

33
on:
44
push:
5+
branches:
6+
- master
7+
- main
8+
tags:
9+
- "*"
510
pull_request:
11+
schedule:
12+
# Run every Monday at 8am
13+
- cron: '0 8 * * MON'
614

715
jobs:
816
lint:

0 commit comments

Comments
 (0)