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

Release docs workflow is not idempotent #1031

Open
vinayada1 opened this issue Feb 2, 2024 · 0 comments
Open

Release docs workflow is not idempotent #1031

vinayada1 opened this issue Feb 2, 2024 · 0 comments
Labels
bug Something isn't working triaged

Comments

@vinayada1
Copy link
Contributor

vinayada1 commented Feb 2, 2024

Describe the bug

There was some issue with release tags and therefore the workflow run to release docs failed. The tags issue was resolved separately but now the release docs workflow fails with the following error:-
++ git push origin v0.30
To https://github.com/radius-project/docs
! [rejected] v0.30 -> v0.30 (fetch first)
error: failed to push some refs to 'https://github.com/radius-project/docs'
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.

https://github.com/radius-project/docs/actions/runs/7760931535/job/21168287608

Steps to reproduce

  1. Release docs workflow fails (due to any reason)
  2. Re-run the workflow and it requires 0.30 release branch to be deleted

Expected behavior

A re-run of the release docs workflow should be idempotent and not require the older release branch to be deleted

Screenshots

Desktop (please complete the following information):

  • OS:
  • Browser
  • Version

Smartphone (please complete the following information):

  • Device:
  • OS:
  • Browser
  • Version

Additional context

This was encountered during v0.30.0 release

AB#11109

@vinayada1 vinayada1 added the bug Something isn't working label Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triaged
Projects
None yet
Development

No branches or pull requests

2 participants