mirror of https://github.com/hyperledger/besu
An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client https://wiki.hyperledger.org/display/besu
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
804 B
29 lines
804 B
# SPDX-License-Identifier: Apache-2.0
|
|
# Hyperledger Repolinter Action
|
|
name: Repolinter
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- master
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: [besu,Linux,self-hosted,X64]
|
|
container: ghcr.io/todogroup/repolinter:v0.10.1
|
|
steps:
|
|
- 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/main/repo_structure/repolint.json --format markdown
|
|
- name: Cleanup file permissions created by docker user
|
|
run: |
|
|
USER_ID=$(id -u)
|
|
GROUP_ID=$(id -g)
|
|
chown -R "$USER_ID:$GROUP_ID" . |