Skip to content

Commit 55fb192

Browse files
Restore workflow files to maintain repository owner checks and provision service flags
1 parent 1b2b4c9 commit 55fb192

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

.github/workflows/nightly.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1-
name: "nightly"
2-
1+
---
2+
name: nightly
33
on:
44
schedule:
5-
- cron: "0 0 * * *"
5+
- cron: 0 0 * * *
66
workflow_dispatch:
7-
87
jobs:
98
Spec:
10-
uses: "puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main"
11-
secrets: "inherit"
12-
9+
if: ${{ github.repository_owner == 'puppetlabs' }}
10+
uses: puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main
11+
secrets: inherit
1312
Acceptance:
13+
if: ${{ github.repository_owner == 'puppetlabs' }}
1414
needs: Spec
15-
uses: "puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@main"
16-
secrets: "inherit"
15+
uses: puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@main
16+
with:
17+
flags: --provision-service
18+
secrets: inherit

.github/workflows/release.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
name: "Publish module"
2-
1+
---
2+
name: Publish module
33
on:
44
workflow_dispatch:
5-
65
jobs:
7-
release:
8-
uses: "puppetlabs/cat-github-actions/.github/workflows/module_release.yml@main"
9-
secrets: "inherit"
6+
release:
7+
uses: puppetlabs/cat-github-actions/.github/workflows/module_release.yml@main
8+
secrets: inherit

0 commit comments

Comments
 (0)