8
8
resolve-repolinter-json :
9
9
uses : DSACMS/repo-scaffolder/.github/workflows/extendJSONFile.yml@main
10
10
with :
11
- url_to_json : ' https://raw.githubusercontent.com/DSACMS/repo-scaffolder/main/tier2 /%7B%7Bcookiecutter.project_slug%7D%7D/repolinter.json'
11
+ url_to_json : ' https://raw.githubusercontent.com/DSACMS/repo-scaffolder/main/tier4 /%7B%7Bcookiecutter.project_slug%7D%7D/repolinter.json'
12
12
13
13
repolinter-checks :
14
- name : Tier 2 Checks
14
+ name : Tier 4 Checks
15
15
needs : resolve-repolinter-json
16
16
runs-on : ubuntu-latest
17
+ permissions :
18
+ contents : write
19
+ pull-requests : write
17
20
env :
18
-
21
+ {% raw %}
19
22
RAW_JSON : ${{ needs.resolve-repolinter-json.outputs.raw-json }}
20
-
23
+ {% endraw %}
21
24
steps :
22
25
- uses : actions/checkout@v4
23
26
- run : echo $RAW_JSON > repolinter.json
24
- - uses : newrelic /repolinter-action@v1
27
+ - uses : DSACMS /repolinter-action@main
25
28
with :
26
29
# A path to the JSON/YAML Repolinter ruleset to use, relative to the workflow
27
30
# working directory (i.e. under `$GITHUB_WORKSPACE`).
41
44
# non-intrusive notification.
42
45
#
43
46
# Default: "exit-code"
44
- output_type : ' issue '
47
+ output_type : ' pull-request '
45
48
46
49
# The title to use for the issue created by repolinter-action. This title
47
50
# should indicate the purpose of the issue, as well as that it was created by
@@ -50,10 +53,10 @@ jobs:
50
53
# This option will be ignored if output_type != "issue".
51
54
#
52
55
# Default: "[Repolinter] Open Source Policy Issues"
53
- output_name : ' [Repolinter] Tier 2 Repository Hygiene Issue '
56
+ pull_request_labels : ' repolinter, cms-oss, cms-gov '
54
57
55
58
# The default token is the repolinter token for the DSACMS org
56
59
# You can change it if needed.
57
-
60
+ {% raw %}
58
61
token : ${{ secrets.REPOLINTER_AUTO_TOKEN }}
59
-
62
+ {% endraw %}
0 commit comments