Skip to content

Commit

Permalink
feat(tf): dont run pipelines on draft
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejlakomski committed Feb 24, 2025
1 parent 0cb73d8 commit d2914dd
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/reusable_assign_label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ on:
- opened
- reopened
- synchronize
- ready_for_review

jobs:
assign:
name: "Assign"
uses: Inetum-Poland/.github/.github/workflows/assign_label.yml@main
if: github.event.pull_request.draft == false
2 changes: 2 additions & 0 deletions .github/workflows/reusable_assign_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ on:
- opened
- reopened
- synchronize
- ready_for_review

jobs:
assign:
name: "Assign"
uses: Inetum-Poland/.github/.github/workflows/assign_tag.yml@main
if: github.event.pull_request.draft == false
with:
bump_fail_if_no_level: true
bump_latest: true
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/reusable_verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@ on:
branches:
- main
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
branches:
- main

jobs:
verify:
name: "Verify"
uses: Inetum-Poland/.github/.github/workflows/verify.yml@main
if: github.event.pull_request.draft == false
secrets: inherit
2 changes: 2 additions & 0 deletions .github/workflows/reusable_verify_semantic_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ on:
- reopened
- synchronize
- edited
- ready_for_review

jobs:
verify:
name: "Verify"
uses: Inetum-Poland/.github/.github/workflows/verify_semantic_pr.yml@main
if: github.event.pull_request.draft == false
secrets: inherit
17 changes: 17 additions & 0 deletions .github/workflows/semantic_pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on:
pull_request:
types:
- opened
- reopened
- synchronize
- edited
- ready_for_review
branches:
- main

jobs:
verify:
name: "Verify"
uses: Inetum-Poland/.github/.github/workflows/verify.yml@main
if: github.event.pull_request.draft == false
secrets: inherit

0 comments on commit d2914dd

Please sign in to comment.