generated from actions/typescript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Job not found #158
Comments
Confirmed. Setting |
Yes. I can confirm that defining a name in the job causes this action to fail. |
Defining a name or using matrix will cause this problem. Would be great if it could be solved. |
steve-haar
added a commit
to steve-haar/ng-clarity
that referenced
this issue
Jun 27, 2022
This is to work around haya14busa/action-workflow_run-status#158
steve-haar
added a commit
to vmware-clarity/ng-clarity
that referenced
this issue
Jun 27, 2022
This is to work around haya14busa/action-workflow_run-status#158
kevinbuhmann
added a commit
to vmware-clarity/ng-clarity
that referenced
this issue
Jul 5, 2022
Removing the job name is a workaround for haya14busa/action-workflow_run-status#158.
kevinbuhmann
added a commit
to vmware-clarity/ng-clarity
that referenced
this issue
Jul 5, 2022
Removing the job name is a workaround for haya14busa/action-workflow_run-status#158.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Workflow snippet triggered on
workflow_run
:This workflow works correctly, but breaks when trying to use this action as above. Actions error log:
This is likely the same issue that was recently closed by the issue author for unknown reasons. Unlike others chiming in there I am not using any matrix.
Quick glance over the code suggests that
job.name
is probablyDeploy Preview
which is obviously not going to match thecontext.job
that the error logs aspreview
. Presumably if I match thename
value to the job object name the two values will resolve this issue.action-workflow_run-status/src/main.ts
Lines 84 to 87 in 967ed83
It looks like you could reference a job by id? For those using a matrix, that may not work?
context.github.job
provides the current job id. Will this work?:I don't develop actions, and the documentation is lacking what the
context.job.job
object contains. One issue I linked to mentionscontext.jobId
but I am lacking documentation to know if that's suggested or valid.The text was updated successfully, but these errors were encountered: