mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-26 11:35:10 +00:00
Create repolinter.yml
Signed-off-by: Ry Jones <ry@linux.com>
This commit is contained in:
parent
2b662e08b4
commit
b7f352cd9b
1 changed files with 22 additions and 0 deletions
22
.github/workflows/repolinter.yml
vendored
Normal file
22
.github/workflows/repolinter.yml
vendored
Normal file
|
|
@ -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
|
||||||
Loading…
Reference in a new issue