-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Error: Reference does not exist #10
Comments
The error means the Github reference does not exist. It throws this error when the release does not have a reference commit on Github (i.e. this error is triggered by the Github API). The delete orphan tag feature was pulled out of stable... not because anything is wrong with it, but because other changes needed to be pulled out. You can try the master branch if you need that feature. I need to update the docs to explain this. To use the master branch instead of stable: - name: Rollback release if unsuccessful
if: ${{ cancelled() || failure() }}
uses: author/action-rollback@master
with:
release_id: ${{ steps.create-release.outputs.id }}
delete_orphan_tag: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Thanks! |
Using the master version raises the error mentioned in #8. |
Hello, I'm using
https://github.com/author/action-rollback/tree/1.0.3#workflow
and I'm getting the error:
If I delete
always_delete_tag
I still get the errorError: Reference does not exist
but not the warning. I'm more concered with this error. Where can it be coming from? The release entry is indeed removed so therelease_id
works well.The text was updated successfully, but these errors were encountered: