ad-m / github-push-action

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

nao sei como resolver esse erro #125

Closed mikaellalencar closed 2 years ago

mikaellalencar commented 2 years ago

Run crazy-max/ghaction-github-pages@v2.1.3 ✅ Use GITHUB_TOKEN ✨ Initializing local git repo 🏃 Copying /home/runner/work/mikaellalencar/mikaellalencar/dist contents to /tmp/github-pages-ExSlED 🔨 Configuring git committer as GitHub noreply@github.com 📐 Updating index of working tree 📦 Committing changes ✅ Allow empty commit 🔨 Configuring git author as github-actions[bot] 41898282+github-actions[bot]@users.noreply.github.com commit 5f32989fc0377f4d40f91ca0aa9d62a84ec8f280 Author: github-actions[bot] 41898282+github-actions[bot]@users.noreply.github.com Date: Tue May 10 13:48:53 2022 +0000

Deploy to GitHub pages

github-contribution-grid-snake.svg | 1 + 1 file changed, 1 insertion(+) 🏃 Pushing dist directory to output branch on mikaellalencar/mikaellalencar repo ✅ Force push Error: remote: Permission to mikaellalencar/mikaellalencar.git denied to github-actions[bot]. fatal: unable to access 'https://github.com/mikaellalencar/mikaellalencar.git/': The requested URL returned error: 403

ZPascal commented 2 years ago

Hi @mikaellalencar, I suspect that your token does not have the appropriate permissions to push to this repository. Please read my comment in this issue which describes what permissions are needed.

ZPascal commented 2 years ago

Hi @mikaellalencar, is the issue solved? Can we close it?

ZPascal commented 2 years ago

Hi @mikaellalencar, I think the issue is solved, and I closed it. Feel free to reopen it, if it still occurs.