Skip to content

Commit

Permalink
feat: update repository settings (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusrbrown committed Dec 13, 2023
1 parent 206818f commit 2487db7
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 12 deletions.
37 changes: 26 additions & 11 deletions .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,39 @@ repository:
topics: template, actions, github-actions, nodejs, typescript, github-actions
is_template: true

teams:
- name: actioneers
permission: push
- name: services
permission: maintain
- name: owners
permission: admin

branches:
- name: main
protection:
required_status_checks:
strict: true
contexts:
[
'Build',
'Check if Renovate should run',
'Lint',
'Release',
'Renovate',
'Test',
'Setup',
'CodeQL',
'Analyze (javascript)',
]
- 'Build'
- 'Check if Renovate should run'
- 'Dependency Review'
- 'Lint'
- 'Release'
- 'Renovate'
- 'Test'
- 'Setup'
- 'CodeQL'
- 'Analyze (TypeScript)'
enforce_admins: true
required_pull_request_reviews: null
restrictions: null
required_linear_history: true

- name: release
protection:
enforce_admins: true
required_linear_history: false
required_pull_request_reviews: null
required_status_checks: null
restrictions: null
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fail-fast: false
matrix:
# Learn more about CodeQL language support at https://git.io/codeql-language-support
language: ['javascript']
language: ['TypeScript']

steps:
- name: Harden Runner
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dependency-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ permissions:

jobs:
dependency-review:
name: Dependency Review
runs-on: ubuntu-latest
steps:
- name: Harden Runner
Expand Down

0 comments on commit 2487db7

Please sign in to comment.