diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 85097631..a8d0c432 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,13 +1,17 @@ name: Lint -on: [push, pull_request, workflow_dispatch] - -env: - FORCE_COLOR: 1 +on: + push: + branches: ['main'] + pull_request: + workflow_dispatch: # Allows running the workflow manually from the Actions tab permissions: contents: read +env: + FORCE_COLOR: 1 + jobs: lint: runs-on: ubuntu-latest