-
Notifications
You must be signed in to change notification settings - Fork 63
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
New Delete Env Outside Deployments Check #135
Comments
Same here, receiving the following error when deleting an environment:
I assume this problem is related to the described issue by @brolewis. |
@schorfES Maybe, but I just realized that for our workflows I thought we were using a PAT token, but we in fact were not, so that can cause problems according to the docs for this action as well, so in my case, it might be a user error. |
@brolewis thank you for that hint. I will investigate in that direction. I was wondering because it worked as expected for the last ~5 month and is failing since yesterday morning. Yes, probably a token is expired but we currently do not pass them explicitly to the job (following the docs). |
cc @buckett could you take a look at this? |
I am explicitly passing the PAT token and the env. It has been failing for the last 2 weeks with the same error posted here |
Is there a workaround for this? |
It looks like the new call to
deleteAnEnvironment
is outside the check for deployments. Seeing errors when trying to rundelete-env
in a workflow where that specific run didn't have an environment.https://github.com/bobheadxi/deployments/blob/main/src/lib/delete.ts#L39-L43
The text was updated successfully, but these errors were encountered: