-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tag branch not found from sha #246
Comments
when using the checkout action what fetch depth are you using? The default? Are you triggering the action release? https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#release |
- name: Checkout
uses: actions/checkout@v2
with:
ref: main
fetch-depth: 0 |
Missed the second question ... sorry. This isn't a release workflow, I'm listening on push, doing the semantic-release, then fetching the latest tag ... be it new, or not. There will be instances (rare) that we'll deploy a tag that's older than the current main, but that's fine, there are many times that we'll push commits that shouldn't trigger an actual release, so deploying an old tag is fine. |
I think there might be an issue with the checkout action regarding tags actions/checkout#579 Reading the comments I think that if you don't use |
Could be. I am using depth 0 though so the --no-tags flag shouldn't be present ... who knows. Thanks for your attempt though. |
I need to create a new branch
release
based on that latest release tag created by semantic-release.I've tested and I am passing in the correct sha for my tag, but I'm getting the following message:
Any help here?
The text was updated successfully, but these errors were encountered: