Github login not able to work , please can advise

Hi all,

I am aware that password access to the GIthub no longer available but when I tried to do the lab on git action to login to the personal Github account when doing git push from lab command line console, it was denied after I enter the personal access token in the password field.

================================
alpine-host hello-world-repo/.github/workflows on  main :heavy_multiplication_x: git push -u origin main
Username for ‘https://github.com’: seeshiang2024
Password for “‘-----------’”:
remote: Permission to seeshiang2024/hello-world-repo.git denied to seeshiang2024.
fatal: unable to access ‘seeshiang2024/hello-world-repo · GitHub’: The requested URL returned error: 403

Either the personal access token has expired, or it does not have sufficient privilege.

Create a new PAT (classic) and ensure the above is not going to happen. In the image below…

  1. Ensure the token will be valid long enough to complete the course
  2. Enable all repo permission
  3. Enable workflow permission or you will not be able to push changes to the workflow YAML file.