From c96ce0a9cc5e2e69c0bd83cb56edeffda6215dda Mon Sep 17 00:00:00 2001 From: PixelHir Date: Mon, 6 May 2024 12:10:02 +0200 Subject: [PATCH] Update linter --- .github/workflows/main.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 126a9ce..fa264ea 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,9 +1,14 @@ -name: Awesome List Linting -on: [push, pull_request] +name: Awesome List Lint +on: + pull_request: + branches: [master] + push: + branches: [master] jobs: - lint: - name: Lint + Awesome_Lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1.0.0 - - uses: PixelHir/awesome-lint-fix@master + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - run: npx awesome-lint