Skip to content

Commit

Permalink
Create quic-organization-repolinter.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronkjones authored Jul 12, 2021
1 parent 16d1556 commit 105740a
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/quic-organization-repolinter.yml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 105740a

Please sign in to comment.