Assing the commitRef of the command-dispatch as a named static-arg
MODIFY
.github/workflows/command_dispatch.yml
.github/workflows/command_dispatch.yml
@@ -13,7 +13,9 @@ jobs:
with:
token: ${{ secrets.EVENT_PAT }}
reaction-token: ${{ secrets.GITHUB_TOKEN }}
- commands: run-example-tests commitRef=${{ github.head_ref }}
+ commands: run-example-tests
permission: write
issue-type: pull-request
repository: pulumi/examples
+ static-args: |
+ commitRef=${{ github.head_ref }}

Assing the commitRef of the command-dispatch as a named static-arg