Explanation of the display under actions #25752
-
I create 10 commits and push them to github. No action is executed in the process. Now I create a new tag and push it.
My action on GitHub
But now I have two questions. For me the action display is a bit confusing
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
KodaCHC:
The tag and the pushed ref aren’t the same ( |
Beta Was this translation helpful? Give feedback.
-
Sorry that was a mistake when writing. it is also v1.0.0 My workflow is started as follows
|
Beta Was this translation helpful? Give feedback.
-
In that case the commit ID should be that of the tagged commit, you check that with |
Beta Was this translation helpful? Give feedback.
-
GitHub shows the commit and not the tag release. I have created an example here: My steps
Now the Action show me the headline of my last commit “File 3”
|
Beta Was this translation helpful? Give feedback.
-
This is that I see: Looks correct to me. The tag name is to the right, the blue link (the ref that was pushed). The “File 3” is the title of the commit on which the workflow ran (what’s called |
Beta Was this translation helpful? Give feedback.
-
For me the confusing thing is only why the last commit is shown. I would have thought the comment of the new tag is used. |
Beta Was this translation helpful? Give feedback.
This is that I see:
Looks correct to me. The tag name is to the right, the blue link (the ref that was pushed). The “File 3” is the title of the commit on which the workflow ran (what’s called
GITHUB_SHA
in the event documentation).