From be242cb2ea2665f48bf2305b28e8a9006caf6a77 Mon Sep 17 00:00:00 2001 From: quic-zhaoyuan <164289792+quic-zhaoyuan@users.noreply.github.com> Date: Wed, 4 Sep 2024 10:19:26 +0800 Subject: [PATCH] Update action --- .../workflows/quic-organization-repolinter.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/quic-organization-repolinter.yml b/.github/workflows/quic-organization-repolinter.yml index 019891a..4c9dbb5 100644 --- a/.github/workflows/quic-organization-repolinter.yml +++ b/.github/workflows/quic-organization-repolinter.yml @@ -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 @@ -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" \ No newline at end of file