SRGSSR / pillarbox-web

Pillarbox is a versatile media playback ecosystem engineered for the web.
https://srgssr.github.io/pillarbox-web-demo/
MIT License
11 stars 1 forks source link

Deployment fails when using merge queue and semantic release #200

Closed amtins closed 6 months ago

amtins commented 6 months ago

Description of the problem

By combining the use of semantic-release and merge queue in order to release the npm package, the CI falls into error.

remote: error: GH006: Protected branch update failed for refs/heads/main.        
remote: error: Changes must be made through the merge queue    

Reproducibility

Always reproducible

amtins commented 6 months ago

Apparently this is not only due to the merge queue, it also affects status checks.

remote: error: Changes must be made through the merge queue Changes must be made through a pull request. 2 of 2 required status checks are expected. 

After careful RTFM (read the friendly manual), I couldn't find a way around this problem other than disabling the merge queue and status checks.

amtins commented 6 months ago

All restrictions have been removed in order to deploy an npm package. It is possible that restrictions may be reactivated in the future. Maybe set up a token.