I'm trying to build a workflow_dispatch (ie manual) Github action that pre-fills the input fields with the SHA of the branch.
ie
name: Manually tag a release on: workflow_dispatch: inputs: git-sha: description: Release SHA default: <prefill with GITHUB_SHA> required: true
I've tried default: ${{ github.sha }} but that throws an error.
default: ${{ github.sha }}
Is this possible and what is the syntax?
2.1m questions
2.1m answers
60 comments
57.0k users