Skip to content

Did you forget to run actions/checkout before running your local action? #448

Locked Answered by lowlighter
AnuragAnalog asked this question in Q&A
Discussion options

You must be logged in to vote

Hello 🙂

The uses in workflows is used to tell GitHub which action you want to use. So in this case, to use metrics you need one of the following instead:

- uses: lowlighter/metrics@latest   # use latest released version
- uses: lowlighter/metrics@master   # use beta version (less stable than @latest)
- uses: lowlighter/metrics@main     # (alias for @master)
- uses: AnuragAnalog/metrics@master # use your own fork (if you want to fork it)

The uses don't point to the target repo, as you need to create the workflow file in the target repo anyway, so GitHub (and this action) already know on which repository it needs to perform actions

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AnuragAnalog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment