-
-
Notifications
You must be signed in to change notification settings - Fork 133
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 is not found" message appearing in job and took fields #185
Comments
Having a similar issue when trying to use a custom message:
|
I had a similar problem. My current belief is that the docs here: https://action-slack.netlify.app/with#job_name are poorly worded, but are actually intended to imply that you must specify the |
Updated link: https://action-slack.netlify.app/usage/with/ |
Yes, it appears you must either specify the actual job name for the |
So what would it look like in the original case of the first person that asked the question? Would it be "fields: repo,slack_test,commit,workflow,took,pullRequest" ? Can someone edit the to reproduce the full code to show us. is the code below correct?
|
Describe the bug
When trying to output the job name and time taken in a Slack message I am getting a "Job is not found" message. However, if I overwrite the job name then the details are successfully populated.
To Reproduce
This is the GitHub Actions config that I have used:
If you add
to the
with
section then thejob
andtook
fields are populated correctly on the Slack message.Expected behavior
My understanding is that the job name should automatically be detected, which would then mean that the
job
andtook
fields are successfully populated. If that is correct then I would expect those fields to be successfully populated without having to specify the job name.Screenshots
The text was updated successfully, but these errors were encountered: