Skip to content

Permission to [PROFILE].git denied to github-actions[bot] #18

@aldoyh

Description

@aldoyh

Hello,

I am having issue when running it, how may I change the User used in the script to commit?

4
Writing to ./README.md
Started: git config --global user.email example@gmail.com
Started: git config --global user.name Abhishek Naidu
Started: git add ./README.md
Started: git commit -m Todoist updated.
[preview fdc8[6](https://github.com/aldoyh/aldoyh/actions/runs/5378707166/jobs/9758875236#step:3:7)05] Todoist updated.
 1 file changed, 4 insertions(+)
Started: git push
remote: Permission to aldoyh/aldoyh.git denied to github-actions[bot].
fatal: unable to access 'https://github.com/aldoyh/aldoyh/': The requested URL returned error: 403
/home/runner/work/_actions/abhisheknaiidu/todoist-readme/master/dist/index.js:3593
      const err = new Error(`Invalid status code: ${code}`);
                  ^

Error: Invalid status code: 128
    at ChildProcess.<anonymous> (/home/runner/work/_actions/abhisheknaiidu/todoist-readme/master/dist/index.js:3593:19)
    at ChildProcess.emit (node:events:52[7](https://github.com/aldoyh/aldoyh/actions/runs/5378707166/jobs/9758875236#step:3:8):2[8](https://github.com/aldoyh/aldoyh/actions/runs/5378707166/jobs/9758875236#step:3:9))
    at maybeClose (node:internal/child_process:10[9](https://github.com/aldoyh/aldoyh/actions/runs/5378707166/jobs/9758875236#step:3:10)2:[16](https://github.com/aldoyh/aldoyh/actions/runs/5378707166/jobs/9758875236#step:3:17))
    at Process.ChildProcess._handle.onexit

Screenshot 2023-06-26 at 16 28 20

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions