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 #9

Don't run linting on draft PRs

Don't run linting on draft PRs #9

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/[email protected]
with:
ansible-roles-config: ./meta/requirements.yml
pre-commit-config: ./.pre-commit-config.yaml