Skip to content

Commit aa62e24

Browse files
Restrict CI branches and add permissions
1 parent aacd2a5 commit aa62e24

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
name: CI
22

3+
permissions:
4+
contents: read
5+
6+
37
on:
48
push:
5-
branches: [ "**" ]
9+
branches: [main]
610
pull_request:
7-
branches: [ "**" ]
8-
11+
schedule:
12+
- cron: "0 8 */2 * *" # runs at 08:00 UTC every 2 days
13+
914
jobs:
1015
Tests:
1116
timeout-minutes: 360

0 commit comments

Comments
 (0)