novuhq / novu-python

Python SDK for Novu - The open-source notification infrastructure for engineers. 🚀
https://novu-python.readthedocs.io
MIT License
77 stars 32 forks source link

Error in CI/CD -> Fail to publish new versions after a policy update #228

Closed ryshu closed 8 months ago

ryshu commented 8 months ago

Hi @unicodeveloper,

It seems that after a change to the rules on your Git repositories, the semantic-release bot is no longer able to push commits that tag versions.

See logs here:

image

https://github.com/novuhq/novu-python/actions/runs/7868653993/job/21466246462

unicodeveloper commented 8 months ago

@ryshu What do I need to do here to ensure this works?

ryshu commented 8 months ago

@unicodeveloper Hum, I think this box is checked:

image

unicodeveloper commented 8 months ago

Oh yes, I see. Okay, I'll update that now @ryshu

unicodeveloper commented 8 months ago

@ryshu please can you try again now. I have updated it.

ryshu commented 8 months ago

If it's not that, it's probably the token in the environment variables that has expired

To recreate a token, you must give it the following rights: https://github.com/semantic-release/github/issues/175#issuecomment-484964034

ryshu commented 8 months ago

Ok for me: https://github.com/novuhq/novu-python/commit/7cd4f85e62d1d410c30019179cc61e3a5b316d73

Do not forget to take a look at ALPHA pull request ;)

https://github.com/novuhq/novu-python/pull/187