MTM-59369: Testing Github actions #2
Workflow file for this run
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: Update Changelogs Trigger | |
on: | |
workflow_dispatch: | |
inputs: | |
component: | |
description: "Component name deployed to zone 1" | |
required: true | |
type: string | |
version: | |
description: "Component Version deployed to zone 1" | |
required: true | |
type: string | |
workflow_call: | |
inputs: | |
component: | |
description: "Component name deployed to zone 1" | |
required: true | |
type: string | |
version: | |
description: "Component Version deployed to zone 1" | |
required: true | |
type: string | |
permissions: | |
pull-requests: write | |
contents: write | |
#concurrency: | |
# group: ${{github.workflow}}-${{inputs.components}} | |
# cancel-in-progress: false | |
# | |
#jobs: | |
# checkVersion: | |
# name: Check Component Version | |
# runs-on: ubuntu-latest | |
# timeout-minutes: 15 | |
# steps: | |
## If recieved component version is newer than previous one, set new date and trigger change | |
# setDate: | |
# name: Sets current Date | |
# steps: | |
## sets current date, triggered my checkVersion, outputs current | |
# triggerChangeLog: | |
# uses: ./.github/workflows/update-changelog-dates.yml | |
# needs: # component name, version and date and succesful version check | |
# with: | |
# component: ${{ inputs.component }} | |
# version: ${{ inputs.version }} | |
# date: ${{ #setdate's Output }} | |
# secrets: inherit | |