Skip to content

Commit 3172a32

Browse files
committed
chore: update template-oss files for main branch
1 parent f09f754 commit 3172a32

File tree

6 files changed

+33
-2
lines changed

6 files changed

+33
-2
lines changed

.github/dependabot.yml

+14
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,17 @@
33
version: 2
44

55
updates:
6+
- package-ecosystem: npm
7+
directory: /
8+
schedule:
9+
interval: daily
10+
target-branch: "main"
11+
allow:
12+
- dependency-type: direct
13+
versioning-strategy: increase-if-necessary
14+
commit-message:
15+
prefix: deps
16+
prefix-development: chore
17+
labels:
18+
- "Dependencies"
19+
open-pull-requests-limit: 10

.github/settings.yml

+14
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,17 @@ repository:
1111
enable_vulnerability_alerts: true
1212

1313
branches:
14+
- name: main
15+
protection:
16+
required_status_checks: null
17+
enforce_admins: true
18+
block_creations: true
19+
required_pull_request_reviews:
20+
required_approving_review_count: 1
21+
require_code_owner_reviews: true
22+
require_last_push_approval: true
23+
dismiss_stale_reviews: true
24+
restrictions:
25+
apps: []
26+
users: []
27+
teams: [ "cli-team" ]

.github/workflows/ci-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
ref:
99
required: true
1010
type: string
11-
default: master
11+
default: main
1212
workflow_call:
1313
inputs:
1414
ref:

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
pull_request:
88
push:
99
branches:
10+
- main
1011
schedule:
1112
# "At 09:00 UTC (02:00 PT) on Monday" https://crontab.guru/#0_9_*_*_1
1213
- cron: "0 9 * * 1"

.github/workflows/codeql-analysis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ name: CodeQL
55
on:
66
push:
77
branches:
8+
- main
89
pull_request:
910
branches:
11+
- main
1012
schedule:
1113
# "At 10:00 UTC (03:00 PT) on Monday" https://crontab.guru/#0_10_*_*_1
1214
- cron: "0 10 * * 1"

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Release
55
on:
66
push:
77
branches:
8-
8+
- main
99

1010
permissions:
1111
contents: write

0 commit comments

Comments
 (0)