peter-evans / autopep8

A GitHub action for autopep8, a tool that automatically formats Python code to conform to the PEP 8 style guide.
MIT License
84 stars 15 forks source link

Restore git credentials fail #64

Closed yarons closed 2 years ago

yarons commented 2 years ago

https://github.com/Maagan-Michael/invitease/runs/6257049794?check_suite_focus=true

This is the from the logs:

Restore persisted git credentials
  /usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader ^AUTHORIZATION:
  http.https://github.com/.extraheader
  /usr/bin/git config --local --get-regexp http.https://github.com/.extraheader ^AUTHORIZATION:
  http.https://github.com/.extraheader AUTHORIZATION: basic ***
  /usr/bin/git config --local --unset http.https://github.com/.extraheader ^AUTHORIZATION:
  Unset config key 'http.https://github.com/.extraheader'
  /usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
  Persisted git credentials restored
peter-evans commented 2 years ago

Hi @yarons

The error is in the step before that: image

You are trying to request a review from me (peter-evans). Looks like you've copied the example and forgotten to edit it. https://github.com/Maagan-Michael/invitease/blob/dd6a5b71da49051d0d796a26c0bb85c988f62eeb/.github/workflows/pep8-check.yml#L28

yarons commented 2 years ago

Sorry, I should have looked further, can I suggest a documentation change for that?