Actions pass job id instead of job name (#23553)

This commit is contained in:
Phil Renaud
2024-07-11 14:55:37 -04:00
committed by GitHub
parent 370952e390
commit 75722ef93e
2 changed files with 4 additions and 1 deletions

3
.changelog/23553.txt Normal file
View File

@@ -0,0 +1,3 @@
```release-note:bug
ui: Actions run from jobs with explicit name properties now work from the web UI
```

View File

@@ -192,7 +192,7 @@ export default class JobAdapter extends WatchableNamespaceIDs {
const wsUrl =
`${protocol}//${prefix}/job/${encodeURIComponent(
job.get('name')
job.get('plainId')
)}/action` +
`?namespace=${job.get('namespace.id')}&action=${
action.name