Skip to content

Commit 6d8e6ad

Browse files
committed
use private-key as a input parameter
1 parent 2f59d40 commit 6d8e6ad

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/publish.lib.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Publish
22

33
on:
44
workflow_call:
5+
inputs:
6+
private-key:
7+
description: 'Private key for creating the GitHub App token'
8+
required: true
9+
type: string
510

611
permissions:
712
packages: write
@@ -20,7 +25,7 @@ jobs:
2025
with:
2126
# required
2227
app-id: 1312871
23-
private-key: ${{ secrets.OPENMCP_CI_APP_PRIVATE_KEY }}
28+
private-key: ${{ inputs.private-key }}
2429

2530
- name: Checkout code
2631
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

0 commit comments

Comments
 (0)