Skip to content

Commit 7ec91a4

Browse files
testing workflow
Signed-off-by: Sachin Panayil <[email protected]>
1 parent 30c295b commit 7ec91a4

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.github/workflows/checks.yml

+12-9
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,23 @@ jobs:
88
resolve-repolinter-json:
99
uses: DSACMS/repo-scaffolder/.github/workflows/extendJSONFile.yml@main
1010
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'
1212

1313
repolinter-checks:
14-
name: Tier 2 Checks
14+
name: Tier 4 Checks
1515
needs: resolve-repolinter-json
1616
runs-on: ubuntu-latest
17+
permissions:
18+
contents: write
19+
pull-requests: write
1720
env:
18-
21+
{% raw %}
1922
RAW_JSON: ${{ needs.resolve-repolinter-json.outputs.raw-json }}
20-
23+
{% endraw %}
2124
steps:
2225
- uses: actions/checkout@v4
2326
- run: echo $RAW_JSON > repolinter.json
24-
- uses: newrelic/repolinter-action@v1
27+
- uses: DSACMS/repolinter-action@main
2528
with:
2629
# A path to the JSON/YAML Repolinter ruleset to use, relative to the workflow
2730
# working directory (i.e. under `$GITHUB_WORKSPACE`).
@@ -41,7 +44,7 @@ jobs:
4144
# non-intrusive notification.
4245
#
4346
# Default: "exit-code"
44-
output_type: 'issue'
47+
output_type: 'pull-request'
4548

4649
# The title to use for the issue created by repolinter-action. This title
4750
# should indicate the purpose of the issue, as well as that it was created by
@@ -50,10 +53,10 @@ jobs:
5053
# This option will be ignored if output_type != "issue".
5154
#
5255
# Default: "[Repolinter] Open Source Policy Issues"
53-
output_name: '[Repolinter] Tier 2 Repository Hygiene Issue'
56+
pull_request_labels: 'repolinter, cms-oss, cms-gov'
5457

5558
# The default token is the repolinter token for the DSACMS org
5659
# You can change it if needed.
57-
60+
{% raw %}
5861
token: ${{ secrets.REPOLINTER_AUTO_TOKEN }}
59-
62+
{% endraw %}

0 commit comments

Comments
 (0)