Update Static Files Workflow triggered by user philipnbbc on bbc/httpio main #3
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 Static Files Workflow | |
run-name: ${{ format('{0} triggered by {1} on {2} {3}', github.workflow, (github.event_name == 'workflow_dispatch' && format('user {0}', github.actor) || format('{0} event', github.event_name) ), github.repository, github.ref_name) }} | |
on: | |
workflow_dispatch: | |
inputs: | |
commontoolingBranch: | |
description: 'Commontooling branch or tag to use. NOTE: This input cannot be used to change the branch of the github actions shared workflows' | |
required: true | |
default: 'main' | |
type: string | |
jobs: | |
SharedUpdateStaticFilesWorkflow: | |
name: Shared Workflow | |
permissions: | |
contents: read | |
id-token: write | |
# Github Actions doesn't allow the use of parameters in `uses` statements. If you want to use a different shared workflow branch, change it here | |
uses: ./.github/workflows/shared-ext-update-static-files-workflow.yml | |
with: | |
commontoolingBranch: ${{ inputs.commontoolingBranch || 'main' }} | |
secrets: inherit |