File tree Expand file tree Collapse file tree 6 files changed +15795
-0
lines changed
github-actions/org-file-sync Expand file tree Collapse file tree 6 files changed +15795
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ github-actions/lock-closed/main.js
88github-actions /commit-message-based-labels /main.js
99github-actions /slash-commands /main.js
1010github-actions /post-approval-changes /main.js
11+ github-actions /org-file-sync /main.js
1112.github /local-actions /changelog /main.js
1213
1314bazel /map-size-tracking /test /size-golden.json
Original file line number Diff line number Diff line change 1+ load ("//tools:defaults.bzl" , "esbuild_checked_in" , "ts_library" )
2+
3+ package (default_visibility = ["//github-actions/org-file-sync:__subpackages__" ])
4+
5+ ts_library (
6+ name = "org-file-sync" ,
7+ srcs = glob (
8+ ["src/*.ts" ],
9+ ),
10+ deps = [
11+ "//github-actions:utils" ,
12+ "@npm//@actions/core" ,
13+ "@npm//@actions/github" ,
14+ "@npm//@octokit/rest" ,
15+ "@npm//@octokit/types" ,
16+ "@npm//@types/node" ,
17+ ],
18+ )
19+
20+ esbuild_checked_in (
21+ name = "main" ,
22+ entry_point = ":src/main.ts" ,
23+ target = "node16" ,
24+ deps = [
25+ ":org-file-sync" ,
26+ ],
27+ )
Original file line number Diff line number Diff line change 1+ # Organization File Sync
2+
3+ This directory contains an action which can be executed in the ` .github ` repository. Based on the
4+ configured list of files and repositories, the action will ensure the all of the provided files in
5+ the provided repositories are kept in sync with the ` .github ` repository.
6+
7+ ## License
8+
9+ MIT
Original file line number Diff line number Diff line change 1+ name : ' Organization File Sync'
2+ description : ' Synchronize files throughout the Github Organization'
3+ author : ' Angular'
4+ inputs :
5+ angular-robot-key :
6+ description : ' The private key for the Angular Robot Github app.'
7+ required : true
8+ repos :
9+ description : ' The repositories to keep organization level files in sync'
10+ required : true
11+ files :
12+ description : ' The organization level files to keep in sync'
13+ required : true
14+
15+ runs :
16+ using : ' node16'
17+ main : ' main.js'
You can’t perform that action at this time.
0 commit comments