You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the bot's logs in more detail ( conda-forge/cuda-nvtx-feedstock#13 (comment) ), it appears to have tried to make some kind of change in an initial commit. However it then made a follow up commit, which was pushed. That follow up commit was empty
This all appears correct. The token used when rerendering cannot push changes to GitHub workflows. The rerender job runs smithy. Then it checks if any changes to the workflows have been made. If there are changes to the workflows, it reverts them for just those files. Then the rerender job pushes a commit.
So in this case, since this pr was made before we migrated the workflows, the files on the pr branch are behind. Thus even if the rerender produces those changes, they won't get pushed because our infrastructure can't.
The empty commit is just because there were not any other changes in the rerender. Usually there are other changes and so the commit is not empty.
Anyone should feel free to add code to detect if the commit will be empty and to warn instead of pushing. One should also add code to warn folks that changes were backed out and that they should rerender and push by hand or try to merge upstream into their branch.
beckermr
transferred this issue from conda-forge/webservices-dispatch-action
Oct 1, 2024
Asked the bot to re-render in this PR comment: conda-forge/cuda-nvtx-feedstock#13 (comment)
Instead of pushing changes or noting that no changes could be made, it pushed an empty commit: conda-forge/cuda-nvtx-feedstock@0228ab7
Looking at the bot's logs in more detail ( conda-forge/cuda-nvtx-feedstock#13 (comment) ), it appears to have tried to make some kind of change in an initial commit. However it then made a follow up commit, which was pushed. That follow up commit was empty
When trying locally ( conda-forge/cuda-nvtx-feedstock#13 (comment) ), it appears that conda-smithy is updating the GHA automerge workflow. This works ok locally
Not sure why the bot loses these changes and pushes an empty commit instead
The text was updated successfully, but these errors were encountered: