Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed May 16, 2022
1 parent 1e83d76 commit a2bedf7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,14 @@ fatal: unable to access 'https://github.com/username/repository.git/': The reque
Error: Action failed with "The process '/usr/bin/git' failed with exit code 128"
```

Navigate to your repository's settings / actions / general and in the "Workflow permissions" section, select "Read and write permissions":
Please add the write permission to the `permissions.contents` in a workflow/job.

```yaml
permissions:
contents: write
```

Or, navigate to your repository's settings / actions / general and in the "Workflow permissions" section, select "Read and write permissions":

<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">

Expand Down

0 comments on commit a2bedf7

Please sign in to comment.