ad-m / github-push-action

GitHub actions to push back to repository eg. updated code
MIT License
1.21k stars 228 forks source link

Remove the user from the URL string #169

Closed ZPascal closed 1 year ago

ZPascal commented 1 year ago

Issue:

fix: #167 & #164

Reproduced case:

https://github.com/ZPascal/test_clone_push_action/actions/runs/5033581950/jobs/9027893083#step:4:10

Solution:

Change the used "user" to oauth2.

Test cases:

GitHub Token

https://github.com/ZPascal/test_clone_push_action/actions/runs/5034026984/jobs/9028601552

PAT

https://github.com/ZPascal/test_clone_push_action/actions/runs/5034047888/jobs/9028633417

ZPascal commented 1 year ago

@jackton1 Could you please review the new PR again?