From b7f352cd9b2067ea2a7b778b1c1256fc59eb5235 Mon Sep 17 00:00:00 2001 From: Ry Jones Date: Mon, 22 Mar 2021 12:48:44 -0700 Subject: [PATCH] Create repolinter.yml Signed-off-by: Ry Jones --- .github/workflows/repolinter.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/repolinter.yml diff --git a/.github/workflows/repolinter.yml b/.github/workflows/repolinter.yml new file mode 100644 index 00000000..0f956ea9 --- /dev/null +++ b/.github/workflows/repolinter.yml @@ -0,0 +1,22 @@ +# SPDX-License-Identifier: Apache-2.0 +# Hyperledger Repolinter Action +name: Repolinter + +on: + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + container: hyperledger-tools.jfrog.io/repolinter:0.10.0 + steps: + - name: Checkout Code + uses: actions/checkout@v2 + - name: Lint Repo + continue-on-error: true + 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