Skip to content
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

Action seems to fail when unable to update previously removed workflows #81

Closed
Zeitsperre opened this issue Aug 1, 2023 · 4 comments · Fixed by #84
Closed

Action seems to fail when unable to update previously removed workflows #81

Zeitsperre opened this issue Aug 1, 2023 · 4 comments · Fixed by #84
Labels
bug Something isn't working

Comments

@Zeitsperre
Copy link

For context:

image

I'm not sure why the action appears to be failing, but the highest logging reported are the warnings for workflows that have been removed from the master branch. Am I missing a particular configuration?

@saadmk11
Copy link
Owner

saadmk11 commented Aug 1, 2023

I think one or more GitHub actions in your workflow is not using SemVer that's why the action is failing. It would be really helpful if you find such example in your workflow and share it here. I will try to make some changes so that this only displays warnings rather than crashing.

@saadmk11 saadmk11 added the bug Something isn't working label Aug 1, 2023
@saadmk11
Copy link
Owner

saadmk11 commented Aug 1, 2023

This action uses GitHub's API to fetch the workflow file paths in a repository and sometimes GitHub's API returns the removed file paths as well. That's why you will see these warnings sometimes.

@Zeitsperre
Copy link
Author

@saadmk11 Thanks for looking into this.

I imagine that it might be this particular Action: https://github.com/pypa/gh-action-pypi-publish (pypa/gh-action-pypi-publish@release/v1). The rest of my integrated Actions seem to follow semantic versioning.

For reference, the failing build can be found here: https://github.com/Ouranosinc/xclim/actions/runs/5728057820

@saadmk11
Copy link
Owner

saadmk11 commented Aug 5, 2023

Similar Issue #76

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants