Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/publish.lib.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Publish
on:
workflow_call:
inputs:
owner:
description: 'Owner of the repository'
private-key:
description: 'Private key for creating the GitHub App token'
required: true
type: string

Expand All @@ -25,8 +25,7 @@ jobs:
with:
# required
app-id: 1312871
private-key: ${{ secrets.OPENMCP_CI_APP_PRIVATE_KEY }}
owner: ${{ inputs.owner }}
private-key: ${{ inputs.private-key }}

- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/release.lib.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Versioned Release

on:
workflow_call:
inputs:
private-key:
description: 'Private key for creating the GitHub App token'
required: true
type: string

permissions:
contents: write # we need this to be able to push tags
Expand All @@ -18,7 +23,7 @@ jobs:
with:
# required
app-id: 1312871
private-key: ${{ secrets.OPENMCP_CI_APP_PRIVATE_KEY }}
private-key: ${{ inputs.private-key }}

- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
Expand Down