Skip to content

Commit 07edb0c

Browse files
authored
Merge pull request MicrosoftDocs#79063 from dlepow/acrfix
[ACR] PAT token fix
2 parents 714d0eb + 57744ba commit 07edb0c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

includes/container-registry-task-tutorial-prereq.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@ To trigger a task on a commit to a Git repository, ACR Tasks need a personal acc
2121

2222
1. Navigate to the PAT creation page on GitHub at https://github.com/settings/tokens/new
2323
1. Enter a short **description** for the token, for example, "ACR Tasks Demo"
24-
1. Under **repo**, enable **repo:status** and **public_repo**
24+
1. Select scopes for ACR to access the repo. To access a public repo as in this tutorial, under **repo**, enable **repo:status** and **public_repo**
2525

2626
![Screenshot of the Personal Access Token generation page in GitHub][build-task-01-new-token]
2727

28+
> [!NOTE]
29+
> To generate a PAT to access a *private* repo, select the scope for full **repo** control.
30+
2831
1. Select the **Generate token** button (you may be asked to confirm your password)
2932
1. Copy and save the generated token in a **secure location** (you use this token when you define a task in the following section)
3033

0 commit comments

Comments
 (0)