From 6fca0ba534785f5648e81491198de9dfaf8f8d8e Mon Sep 17 00:00:00 2001 From: Aaron Jones Date: Mon, 12 Jul 2021 14:02:29 -0700 Subject: [PATCH] Create quic-organization-repolinter.yml Signed-off-by: Aaron Jones --- .../quic-organization-repolinter.yml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/quic-organization-repolinter.yml diff --git a/.github/workflows/quic-organization-repolinter.yml b/.github/workflows/quic-organization-repolinter.yml new file mode 100644 index 0000000..ff8c36c --- /dev/null +++ b/.github/workflows/quic-organization-repolinter.yml @@ -0,0 +1,28 @@ +name: QuIC Organization Repolinter + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + repolinter: + runs-on: ubuntu-latest + steps: + - name: Checkout Repo + uses: actions/checkout@v2 + - name: Verify repolinter config file is present + id: check_files + uses: andstor/file-existence-action@v1 + with: + files: "repolint.json" + - name: Run Repolinter with local repolint.json + if: steps.check_files.outputs.files_exists == 'true' + uses: newrelic/repolinter-action@v1 + - name: Run Repolinter with default ruleset + if: steps.check_files.outputs.files_exists == 'false' + uses: newrelic/repolinter-action@v1 + with: + config_url: "https://raw.githubusercontent.com/quic/.github/main/repolint.json" +