Skip to content

Commit

Permalink
Update CI workflow conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
CoMfUcIoS committed Nov 21, 2023
1 parent d96df98 commit aead49a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@ on:

jobs:
Spec:
name: "Spec"
if: ${{ github.event.pull_request.draft == false }} && ${{ github.repository_owner == 'puppetlabs' }}
if: |
github.repository_owner == 'puppetlabs' &&
!github.event.pull_request.draft
uses: "puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main"
secrets: "inherit"

Acceptance:
name: "Acceptance"
if: ${{ github.event.pull_request.draft == false }} && ${{ github.repository_owner == 'puppetlabs' }}
if: |
github.repository_owner == 'puppetlabs' &&
!github.event.pull_request.draft
uses: "puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@main"
with:
flags: "--provision-service"
Expand Down

0 comments on commit aead49a

Please sign in to comment.