AlonKellner / waloviz

An open source interactive spectrogram audio player, primarily based on bokeh and the holoviz stack (wav+holoviz=waloviz)
MIT License
64 stars 1 forks source link

Multiple `docsite` workflows race condition #17

Open AlonKellner opened 1 month ago

AlonKellner commented 1 month ago

Background

When submitting a PR multiple instances of the docsite workflow run at once, when they do they might reach a race condition when pushing to the docsite branch, resulting in the following error:

To https://github.com/AlonKellner/waloviz
 ! [rejected]        docsite -> docsite (fetch first)
error: failed to push some refs to 'https://github.com/AlonKellner/waloviz'
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.
Error: Process completed with exit code 1.

Recommended Prior Knowledge

Suggestion

Retry the pull & push multiple times in the docsite.yml workflow.