diff --git a/.github/actions/get-github-ref-names/action.yml b/.github/actions/get-github-ref-names/action.yml index 91787ba1..1927953b 100644 --- a/.github/actions/get-github-ref-names/action.yml +++ b/.github/actions/get-github-ref-names/action.yml @@ -30,6 +30,9 @@ runs: if (eventName === "pull_request") { head = context.payload.pull_request.head.ref; base = context.payload.pull_request.base.ref; + } else if (eventName === "workflow_dispatch") { + head = context.payload.ref; + base = context.payload.ref; } else if (eventName === "push") { // TODO: this won't work with tags const pruneHead = "refs/heads/";