You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the action fails to push the commit or tag with the following error:
565
+
566
+
```txt
567
+
/usr/bin/git push origin gh-pages
568
+
remote: Write access to repository not granted.
569
+
fatal: unable to access 'https://github.com/username/repository.git/': The requested URL returned error: 403
570
+
Error: Action failed with "The process '/usr/bin/git' failed with exit code 128"
571
+
```
572
+
573
+
Navigate to your repository's settings / actions / general and in the "Workflow permissions" section, select "Read and write permissions":
574
+
575
+
<img width="700" alt="Enabling Read and write permissions to the GITHUB_TOKEN on GitHub Actions" src="https://user-images.githubusercontent.com/30958501/168609359-242f59a9-34c6-4272-9793-d6b2cc823837.png">
576
+
577
+
564
578
### ⭐️ Use the latest and specific release
565
579
566
580
We recommend you to use the latest and specific release of this action for stable CI/CD.
0 commit comments