How to access the event that triggered a workflow #25519
-
I have a workflow that is triggered each time an issue is opened. How can I access the issue number of the issue that triggered the workflow? I saw someone using
on a forum, but I couldn’t find an equivalent syntax for issues on the docs. Here it lists the github.event context but I can’t find any specific info on issues. |
Beta Was this translation helpful? Give feedback.
Answered by
weide-zhou
Dec 17, 2019
Replies: 1 comment
-
You can check the context content, follow the structure to get the issue number, code as below:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can check the context content, follow the structure to get the issue number, code as below: