Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Don't run linting on draft PRs (#13) #10

Don't run linting on draft PRs (#13)

Don't run linting on draft PRs (#13) #10

Workflow file for this run

name: Linting
on:
push:
branches:
- main
- "renovate/**"
pull_request:
types:
- opened
- ready_for_review
- reopened
- synchronize
concurrency:
cancel-in-progress: true
group: >-
${{ github.workflow }}-
${{ github.event.pull_request.number || github.ref }}
jobs:
linting:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: UCL-MIRSG/.github/actions/linting@v0.26.0
with:
ansible-roles-config: ./meta/requirements.yml
pre-commit-config: ./.pre-commit-config.yaml