Skip to content

Commit e09cc1c

Browse files
committed
Update Zizmor workflow by removing unnecessary comments and clarifying schedule configuration
1 parent e9fb0bd commit e09cc1c

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/openssf-scorecard.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
branches: [ main ]
77
workflow_dispatch:
88
schedule:
9+
# Run weekly
910
- cron: '0 0 * * 1'
1011

1112
permissions: read-all

.github/workflows/zizmor.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
name: Zizmor GitHub Actions Security Analysis
22

33
on:
4-
# Run on push to main branch
54
push:
65
branches: [ main ]
7-
# Run on pull requests
86
pull_request:
97
branches: [ main ]
10-
# Run on schedule (weekly)
118
schedule:
12-
- cron: '0 0 * * 0' # Run at midnight every Sunday
13-
# Allow manual triggering
9+
# Run weekly
10+
- cron: '0 0 * * 0'
1411
workflow_dispatch:
1512

1613
permissions:

0 commit comments

Comments
 (0)