build: run gha on tag not branch (#42490)
This commit is contained in:
parent
c41ded2e89
commit
b7aad14e8d
2 changed files with 8 additions and 5 deletions
|
@ -93,7 +93,7 @@ async function githubActionsCall (targetBranch, workflowName, options) {
|
|||
}
|
||||
|
||||
await octokit.request(`POST ${GH_ACTIONS_API_URL}/workflows/${workflowName}.yml/dispatches`, {
|
||||
ref: buildRequest.branch,
|
||||
ref: `refs/tags/${options.newVersion}`,
|
||||
inputs: {
|
||||
...buildRequest.parameters
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue