[HELPER] Promote Package #301
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "[HELPER] Promote Package" | |
on: | |
workflow_dispatch: | |
inputs: | |
packageId: | |
description: "Package ID" | |
required: true | |
comment: | |
description: "Release Comment" | |
required: true | |
jobs: | |
debug: | |
name: Debug Information | |
runs-on: ubuntu-latest | |
steps: | |
- name: Print input values | |
run: | | |
echo "Promoting Package ID: ${{ github.event.inputs.packageId }}" | |
echo "Initiator: ${{ github.actor }}" | |
run-package-promotion: | |
name: Promote Package | |
uses: navikt/crm-workflows-base/.github/workflows/packagePromotion.yml@master | |
permissions: | |
contents: write | |
pull-requests: write | |
with: | |
packageId: ${{ inputs.packageId }} | |
comment: ${{ inputs.comment }} | |
secrets: inherit |