Use action based on commit instead of branch/tag #24957
-
Hi Is it possible to use an action referring to its commit instead of branch or tag? A branch can have its content changed, and a tag can be deleted and re-released. This means that if i am using an action in my workflow, and the owner by mistake (or maliciously) changes the content of the branch or tag, then, my workflow will be impacted by that. However, if you refer to the action using a commit, this will be inmutable and it will not be affected by any of the changes mentioned above (other than deleting the commit, of course) Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can do that, example from the docs:
|
Beta Was this translation helpful? Give feedback.
You can do that, example from the docs: