ts4nfdi / terminology-service-suite

The Terminology Service Suite project is a collection of interactive widgets designed to ease the integration of terminology service functions into third-party applications.
https://ts4nfdi.github.io/terminology-service-suite/comp/latest/
MIT License
16 stars 2 forks source link

Semantic-release Error: An error occurred while running semantic-release: Error: Command failed with exit code 1: git push --tags #40

Closed jusa3 closed 11 months ago

jusa3 commented 11 months ago

Error

stderr: 'remote: error: GH006: Protected branch update failed for refs/heads/main.        \n' +
    'remote: error: Changes must be made through a pull request.        \n' +
    'To [https://github.com/nfdi4health/semlookp-widgets.git\n](https://github.com/nfdi4health/semlookp-widgets.git/n)' +
    ' ! [remote rejected] HEAD -> main (protected branch hook declined)\n' +
    "error: failed to push some refs to 'https://github.com/nfdi4health/semlookp-widgets.git'",
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false,
  pluginName: '@semantic-release/git'

Solved by using a PAT for the release based on this article. Solved in https://github.com/nfdi4health/semlookp-widgets/commit/67f97147eaf934808fea618485004caca9fd58a4 and https://github.com/nfdi4health/semlookp-widgets/commit/1e3632326f9ff8715345a09c4a7ae61b69786b08