Skip to content

Commit

Permalink
Don't run linting on draft PRs (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
paddyroddy authored Nov 1, 2023
1 parent 0d5b4ba commit 4ee5613
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
- main
- "renovate/**"
pull_request:
types:
- opened
- ready_for_review
- reopened
- synchronize

concurrency:
cancel-in-progress: true
Expand All @@ -15,6 +20,7 @@ concurrency:
jobs:
linting:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: UCL-MIRSG/.github/actions/[email protected]
Expand Down

0 comments on commit 4ee5613

Please sign in to comment.