Skip to content

Commit

Permalink
docs: update scopes for push-to-fork
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-evans authored Nov 27, 2024
1 parent 507d0a9 commit 25b6871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/concepts-guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ It will use their own fork to push code and create the pull request.

1. Create a new GitHub user and login.
2. Fork the repository that you will be creating pull requests in.
3. Create a Classic [Personal Access Token (PAT)](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) with `repo` scope. If the upstream repository uses GitHub Actions, it's highly likely that you will also need the `workflow` scope.
3. Create a Classic [Personal Access Token (PAT)](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) with `repo` and `workflow` scopes.
4. Logout and log back into your main user account.
5. Add a secret to your repository containing the above PAT.
6. As shown in the following example workflow, set the `push-to-fork` input to the full repository name of the fork.
Expand Down

0 comments on commit 25b6871

Please sign in to comment.