Skip to content

Commit 8d4fb1b

Browse files
committed
(maint) allow non-puppet repo owners to use release workflow
1 parent 71c5dc8 commit 8d4fb1b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/module_release.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,14 @@ jobs:
1010
release:
1111
name: "Release"
1212
runs-on: "ubuntu-latest"
13-
if: github.repository_owner == 'puppetlabs'
1413

1514
steps:
15+
- name: "Check Requirements"
16+
run: |
17+
if [[ -z "${{ secrets.FORGE_API_KEY }}" ]] ; then
18+
echo "::error::missing required secret: FORGE_API_KEY"
19+
exit 1
20+
fi
1621
1722
- name: "Checkout"
1823
uses: "actions/checkout@v4"

0 commit comments

Comments
 (0)