Update Repolinter action (#2053)

Saves report for download
Allows manual running

Signed-off-by: Ry Jones <ry@linux.com>
pull/2055/head
Ry Jones 4 years ago committed by GitHub
parent a43e848e0a
commit efc80e460b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      .github/workflows/repolinter.yml

@ -1,7 +1,9 @@
# SPDX-License-Identifier: Apache-2.0
# Hyperledger Repolinter Action
name: Repolinter
on:
workflow_dispatch:
push:
branches:
- master
@ -19,4 +21,9 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v2
- name: Lint Repo
run: bundle exec /app/bin/repolinter.js --rulesetUrl https://raw.githubusercontent.com/hyperledger-labs/hyperledger-community-management-tools/master/repo_structure/repolint.json --format markdown
run: bundle exec /app/bin/repolinter.js --rulesetUrl https://raw.githubusercontent.com/hyperledger-labs/hyperledger-community-management-tools/master/repo_structure/repolint.json --format markdown > /repolinter-report.md
- name: Save repolinter-report file
uses: actions/upload-artifact@v2
with:
name: repolinter-report
path: /repolinter-report.md

Loading…
Cancel
Save