Skip to content

Commit 8ba1213

Browse files
committed
CodeQL on every commit (open-telemetry#13185)
1 parent ff38437 commit 8ba1213

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/repository-settings.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,13 @@ settings](https://github.com/open-telemetry/community/blob/main/docs/how-to-conf
8585
- Restrict updates: CHECKED
8686
- Restrict deletions: CHECKED
8787

88+
## Branch protections
89+
90+
### `main`, `release/*`, `v0.*`, `v1.*`, `cloudfoundry`
91+
92+
- Restrict who can push to matching branches: CHECKED
93+
- Restrict pushes that create matching branches: CHECKED
94+
8895
## Code security and analysis
8996

9097
- Secret scanning: Enabled

.github/workflows/codeql-daily.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: CodeQL (daily)
1+
name: CodeQL
22

33
on:
4-
schedule:
5-
# daily at 1:30 UTC
6-
- cron: "30 1 * * *"
4+
push:
5+
branches:
6+
- main
77
workflow_dispatch:
88

99
permissions:

0 commit comments

Comments
 (0)