1
0
mirror of synced 2025-12-30 03:01:36 -05:00
Files
docs/data/reusables/github-actions/github-token-permissions.md
Laura Coursen 8f964ea2cb GHEC version (#20947)
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: Steve Guntrip <12534592+stevecat@users.noreply.github.com>
Co-authored-by: Robert Sese <sese@github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-10-15 15:41:33 -05:00

587 B

The GITHUB_TOKEN secret is set to an access token for the repository each time a job in a workflow begins. {% ifversion fpt or ghes > 3.1 or ghae-next or ghec %}You should set the permissions for this access token in the workflow file to grant read access for the contents scope and write access for the packages scope. {% else %}It has read and write permissions for packages in the repository where the workflow runs. {% endif %}For more information, see "Authenticating with the GITHUB_TOKEN."