|
1 | 1 | name: "Publish module" |
| 2 | +run-name: > |
| 3 | + ${{ format('tag={0}', inputs.tag) }} |
| 4 | + ${{ format('release={0}', inputs.release) }} |
| 5 | + ${{ format('publish={0}', inputs.publish) }} |
| 6 | + ${{ format('edit={0}', inputs.edit) }} |
2 | 7 | |
3 | 8 | on: |
4 | 9 | workflow_dispatch: |
| 10 | + inputs: |
| 11 | + tag: |
| 12 | + description: "Enter an old tag, or blank to tag HEAD of branch" |
| 13 | + type: string |
| 14 | + release: |
| 15 | + description: "Create a Github release" |
| 16 | + type: boolean |
| 17 | + default: true |
| 18 | + publish: |
| 19 | + description: "Publish to the Forge" |
| 20 | + type: boolean |
| 21 | + default: true |
| 22 | + edit: |
| 23 | + description: "Re-tag and regenerate release notes" |
| 24 | + type: boolean |
| 25 | + default: false |
5 | 26 |
|
6 | 27 | jobs: |
7 | 28 | release: |
8 | | - uses: "puppetlabs/cat-github-actions/.github/workflows/module_release.yml@main" |
| 29 | + uses: "puppetlabs/cat-github-actions/.github/workflows/module_release.yml@release-any-tag" |
9 | 30 | secrets: "inherit" |
| 31 | + with: |
| 32 | + tag: ${{ inputs.tag }} |
| 33 | + release: ${{ inputs.release }} |
| 34 | + publish: ${{ inputs.publish }} |
| 35 | + edit: ${{ inputs.edit }} |
0 commit comments