44 lines
1.5 KiB
YAML
44 lines
1.5 KiB
YAML
# This file was auto-generated by github-actions-workflow-generator 0.0.6. Do not edit.
|
||
# To update it, modify .github/workflow-generator.yml as needed and re-run the generator.
|
||
|
||
name: "Release Train – Join"
|
||
run-name: "${{ inputs.release-train }} – Join"
|
||
"on":
|
||
workflow_dispatch:
|
||
inputs:
|
||
deployment-destination:
|
||
description: "Destination to which the release should be deployed"
|
||
options:
|
||
- "Maven Central"
|
||
- "Spring Enterprise"
|
||
required: true
|
||
type: "choice"
|
||
release-train:
|
||
description: "Release train"
|
||
required: true
|
||
type: "string"
|
||
release-train-repository:
|
||
default: "spring-io/release-train"
|
||
description: "Release train repository"
|
||
required: true
|
||
type: "string"
|
||
permissions:
|
||
contents: "none"
|
||
jobs:
|
||
join-release-train:
|
||
name: "Join Release Train"
|
||
runs-on: "ubuntu-latest"
|
||
steps:
|
||
- name: "Join Release Train"
|
||
id: "join-release-train"
|
||
env:
|
||
GH_TOKEN: "${{ secrets.RELEASE_TRAIN_PARTICIPANT_GITHUB_TOKEN }}"
|
||
run: |-
|
||
gh workflow run join \
|
||
--repo ${{ inputs.release-train-repository }} \
|
||
--ref ${{ inputs.release-train }} \
|
||
--field commit-hash=${{ github.sha }} \
|
||
--field deployment-destination=${{ inputs.deployment-destination == 'Maven Central' && 'maven-central' || 'spring-enterprise' }} \
|
||
--field release-branch=${{ github.ref_name }} \
|
||
--field release-repository=${{ github.repository }}
|