-
-
Notifications
You must be signed in to change notification settings - Fork 313
Closed as not planned
Labels
bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this?
- I have searched the existing issues
Does this issue exist in the latest version?
- I'm using the latest release
Describe the bug?
When trying to build a new release tag (v*
), the action does not select any previous commit and fails to report any changes.
To Reproduce
- create workflow triggered on tag push:
on:
push:
tags:
- v*
- add and commit some dummy files, over a few commits
- tag the latest commit as
v1.0.0
and push the tag
What OS are you seeing the problem on?
ubuntu-latest or ubuntu-22.04
Expected behavior?
Changes detected correctly.
Relevant log output
changed-files
Using local .git directory
Running on a push event...
Warning: No previous tag found
Error: Unable to locate the commit sha:
Error: Please verify that the commit sha is correct, and increase the 'fetch_depth' input if needed
Retrieving changes between () → e6eb9203c6c2c87b4dad7177f06eddb6ad80e024 (v1.0.0)
All Done!
Has all relevant logs been included?
- I've included all relevant logs
Anything else?
I've enabled fetch-depth: 0
for my checkout step, so it's not like the history is missing.
Code of Conduct
- I agree to follow this project's Code of Conduct
brandocomando
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working