Skip to content

Commit 0239bce

Browse files
authored
open source it (#18)
* open source it Signed-off-by: Kyle Johnson <[email protected]> * fix NATURAL_LANGUAGE linting error * apply PoLP to update-major-version-tags.yml --------- Signed-off-by: Kyle Johnson <[email protected]>
1 parent 0d5f87c commit 0239bce

18 files changed

+11587
-1136
lines changed

.github/CODEOWNERS

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Repository CODEOWNERS
2+
3+
* @mooseburgr

.github/settings.yml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
repository:
2+
description: GitHub Action for managing repo settings as code
3+
homepage: null
4+
topics:
5+
- github-actions
6+
- typescript
7+
has_issues: true
8+
has_projects: true
9+
has_wiki: true
10+
has_discussions: true
11+
is_template: false
12+
default_branch: main
13+
allow_squash_merge: true
14+
allow_merge_commit: false
15+
allow_rebase_merge: false
16+
allow_auto_merge: true
17+
delete_branch_on_merge: true
18+
allow_update_branch: true
19+
20+
#teams:
21+
# - name: org/team-1
22+
# permission: push
23+
# - name: team-2
24+
# permission: admin
25+
26+
branches:
27+
- name: main
28+
protection:
29+
required_pull_request_reviews:
30+
required_approving_review_count: 1
31+
dismiss_stale_reviews: true
32+
require_code_owner_reviews: true
33+
required_status_checks:
34+
strict: true
35+
contexts:
36+
- Check dist/
37+
- TypeScript Tests
38+
enforce_admins: true
39+
required_linear_history: true
40+
restrictions: null

.github/workflows/ci.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,4 @@ jobs:
5757
id: test-action
5858
uses: ./
5959
with:
60-
milliseconds: 2000
61-
62-
- name: Print Output
63-
id: output
64-
run: echo "${{ steps.test-action.outputs.time }}"
60+
token: ${{ secrets.GITHUB_TOKEN }}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Keep the major-version-only tags up-to-date with the releases
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
- edited
8+
9+
permissions: read-all
10+
11+
jobs:
12+
actions-tagger:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
contents: write
16+
steps:
17+
# https://github.com/Actions-R-Us/actions-tagger
18+
- uses: Actions-R-Us/actions-tagger@v2

CODEOWNERS

-3
This file was deleted.

0 commit comments

Comments
 (0)