Skip to content

Commit db46fcb

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

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/publish.lib.yaml

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

33
on:
44
workflow_call:
5+
<<<<<<< Updated upstream
6+
=======
7+
inputs:
8+
private-key:
9+
description: 'Private key for creating the GitHub App token'
10+
required: true
11+
type: string
12+
>>>>>>> Stashed changes
513

614
permissions:
715
packages: write
@@ -20,7 +28,7 @@ jobs:
2028
with:
2129
# required
2230
app-id: 1312871
23-
private-key: ${{ secrets.OPENMCP_CI_APP_PRIVATE_KEY }}
31+
private-key: ${{ inputs.private-key }}
2432

2533
- name: Checkout code
2634
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

0 commit comments

Comments
 (0)