conda-forge / webservices-dispatch-action

a GitHub action to rerender conda-forge feedstocks
BSD 3-Clause "New" or "Revised" License
2 stars 10 forks source link

Deployment failing in GHA tests #75

Closed jakirkham closed 3 months ago

jakirkham commented 3 months ago

Looks like deployments started failing. Here is a recent example from this GHA job:

[main afef41e] [ci skip] move rerender action to branch main
 1 file changed, 1 insertion(+), 1 deletion(-)
push to origin...
To https://github.com/conda-forge/cf-autotick-bot-test-package-feedstock.git
 ! [rejected]        main -> main (fetch first)
error: failed to push some refs to 'https://github.com/conda-forge/cf-autotick-bot-test-package-feedstock.git'
hint: Updates were rejected because the remote contains work that you do not
hint: have locally. This is usually caused by another repository pushing to
hint: the same ref. If you want to integrate the remote changes, use
hint: 'git pull' before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Traceback (most recent call last):
  File "/home/runner/work/webservices-dispatch-action/webservices-dispatch-action/tests/run_live_rerender_test.py", line 239, in <module>
    _change_action_branch("main")
  File "/home/runner/work/webservices-dispatch-action/webservices-dispatch-action/tests/run_live_rerender_test.py", line 157, in _change_action_branch
    subprocess.run("git push", shell=True, check=True)
  File "/home/runner/miniconda3/envs/test/lib/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'git push' returned non-zero exit status 1.