Skip to content

Update Sample.

Update Sample. #78

name: QuIC Organization Repolinter
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
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: todogroup/repolinter-action@v1
with:
config_file: "repolint.json"
- name: Run Repolinter with default ruleset
if: steps.check_files.outputs.files_exists == 'false'
uses: todogroup/repolinter-action@v1
with:
config_url: "https://raw.githubusercontent.com/quic/.github/main/repolint.json"