Skip to content

Commit

Permalink
Update action
Browse files Browse the repository at this point in the history
  • Loading branch information
quic-zhaoyuan committed Sep 4, 2024
1 parent 9ffb5dd commit be242cb
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/quic-organization-repolinter.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
name: QuIC Organization Repolinter

on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
workflow_dispatch:

on: [push, pull_request, workflow_dispatch]
jobs:
repolinter:
runs-on: ubuntu-latest
Expand All @@ -19,12 +12,12 @@ jobs:
with:
files: "repolint.json"
- name: Run Repolinter with local repolint.json
if: steps.check_files.outputs.files_exists == 'true'
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'
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"
config_url: "https://raw.githubusercontent.com/quic/.github/main/repolint.json"

0 comments on commit be242cb

Please sign in to comment.