refactor: articulate imports #3246
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: QuIC Organization Repolinter | |
on: | |
push: | |
branches: [ develop ] | |
pull_request: | |
branches: [ develop ] | |
jobs: | |
repolinter: | |
if: github.server_url == 'https://github.com' | |
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' | |
with: | |
config_file: "repolint.json" | |
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" | |