Skip to content

Commit

Permalink
Fix linting on github action workflows.
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin Didrichsen <gavin.didrichsen@gmail.com>
  • Loading branch information
gavindidrichsen committed Feb 28, 2025
1 parent 55fb192 commit 075d946
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 19 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
---
name: ci
name: "ci"

on:
pull_request:
branches: [main]
branches:
- "main"
workflow_dispatch:

jobs:
Spec:
if: ${{ github.repository_owner == 'puppetlabs' }}
uses: puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main
secrets: inherit
uses: "puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main"
secrets: "inherit"

Acceptance:
if: ${{ github.repository_owner == 'puppetlabs' }}
needs: Spec
uses: puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@main
uses: "puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@main"
with:
flags: --provision-service
secrets: inherit
secrets: "inherit"
16 changes: 9 additions & 7 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
---
name: nightly
name: "nightly"

on:
schedule:
- cron: 0 0 * * *
- cron: "0 0 * * *"
workflow_dispatch:

jobs:
Spec:
if: ${{ github.repository_owner == 'puppetlabs' }}
uses: puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main
secrets: inherit
uses: "puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main"
secrets: "inherit"

Acceptance:
if: ${{ github.repository_owner == 'puppetlabs' }}
needs: Spec
uses: puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@main
uses: "puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@main"
with:
flags: --provision-service
secrets: inherit
secrets: "inherit"
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
name: Publish module
name: "Publish module"

on:
workflow_dispatch:

jobs:
release:
uses: puppetlabs/cat-github-actions/.github/workflows/module_release.yml@main
secrets: inherit
release:
uses: "puppetlabs/cat-github-actions/.github/workflows/module_release.yml@main"
secrets: "inherit"

0 comments on commit 075d946

Please sign in to comment.