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 with CD failed with "Support for password authentication was removed" although PAT is used #354

Open
szpak opened this issue Sep 28, 2023 · 0 comments

Comments

@szpak
Copy link
Owner

szpak commented Sep 28, 2023

The release of 1.15.0 on CI failed with:

> Task :pushRelease2
Caching disabled for task ':pushRelease2' because:
  Build cache is disabled
Task ':pushRelease2' is not up-to-date because:
  Task has not declared any outputs despite executing actions.
Starting process 'command 'sh''. Working directory: /home/travis/build/szpak/gradle-pitest-plugin Command: sh -c 
              git push "https://[email protected]/szpak/gradle-pitest-plugin.git" HEAD:refs/heads/master --tags 2>&1 | sed "s/$GH_TOKEN/xxx/g"
Successfully started process 'command 'sh''
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/szpak/gradle-pitest-plugin.git/'
:pushRelease2 (Thread[Daemon worker,5,main]) completed. Took 0.282 secs.

What's interesting, the token should be used there and in addition, releasing that way succeeded on 2022-11-27, way after the mentioned "August 13, 2021". Even the recent change with enforced 2FA should not affect that comment as PAT is configured.

To be explained. Manual releasing is very unpleasant :-/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant