--- name: Linters concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true on: pull_request: types: - opened - reopened - synchronize branches: - main - stable-* tags: - "*" jobs: linters: name: Run custom linters runs-on: ubuntu-latest steps: - name: Checkout the collection repository uses: ansible-network/github_actions/.github/actions/checkout_dependency@main with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: "0" - name: Run linters run: make linters