diff --git a/.github/workflows/test-negative.yml b/.github/workflows/test-negative.yml index bf60080..7cb5b8a 100644 --- a/.github/workflows/test-negative.yml +++ b/.github/workflows/test-negative.yml @@ -5,8 +5,16 @@ on: # # Added pull_request to register workflow from the PR. # # Read more https://stackoverflow.com/questions/63362126/github-actions-how-to-run-a-workflow-created-on-a-non-master-branch-from-the-wo # pull_request: {} - workflow_dispatch: {} - + workflow_dispatch: + inputs: + ref: + description: "The fully-formed ref of the branch or tag that triggered the workflow run" + required: false + type: "string" + sha: + description: "The sha of the commit that triggered the workflow run" + required: false + type: "string" permissions: id-token: write contents: read diff --git a/.github/workflows/test-positive.yml b/.github/workflows/test-positive.yml index 47d3cad..6292bf6 100644 --- a/.github/workflows/test-positive.yml +++ b/.github/workflows/test-positive.yml @@ -5,8 +5,16 @@ on: # # Added pull_request to register workflow from the PR. # # Read more https://stackoverflow.com/questions/63362126/github-actions-how-to-run-a-workflow-created-on-a-non-master-branch-from-the-wo # pull_request: {} - workflow_dispatch: {} - + workflow_dispatch: + inputs: + ref: + description: "The fully-formed ref of the branch or tag that triggered the workflow run" + required: false + type: "string" + sha: + description: "The sha of the commit that triggered the workflow run" + required: false + type: "string" permissions: id-token: write contents: read