Skip to content

Commit 47b3927

Browse files
jmeridthzkoppert
andauthored
Update .github/workflows/copilot-setup-steps.yml
Co-authored-by: Zack Koppert <[email protected]> Signed-off-by: Jason Meridth <[email protected]>
1 parent 2457065 commit 47b3927

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/copilot-setup-steps.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,17 @@ on:
1111
paths:
1212
- .github/workflows/copilot-setup-steps.yml
1313

14+
# Set the permissions to the lowest permissions possible needed for your steps.
15+
# Copilot will be given its own token for its operations.
16+
permissions:
17+
# If you want to clone the repository as part of your setup steps, for example to install dependencies, you'll need the `contents: read` permission. If you don't clone the repository in your setup steps, Copilot will do this for you automatically after the steps complete.
18+
contents: read
19+
1420
jobs:
1521
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
1622
copilot-setup-steps:
1723
runs-on: ubuntu-latest
1824

19-
# Set the permissions to the lowest permissions possible needed for your steps.
20-
# Copilot will be given its own token for its operations.
21-
permissions:
22-
# If you want to clone the repository as part of your setup steps, for example to install dependencies, you'll need the `contents: read` permission. If you don't clone the repository in your setup steps, Copilot will do this for you automatically after the steps complete.
23-
contents: read
2425

2526
# You can define any steps you want, and they will run before the agent starts.
2627
# If you do not check out your code, Copilot will do this for you.

0 commit comments

Comments
 (0)