Skip to content

Commit 52c31fd

Browse files
committed
Fix: Update secret verification message to clarify use of Repository secrets instead of environment secrets
1 parent f4147cc commit 52c31fd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
1515
copilot-setup-steps:
1616
runs-on: ubuntu-latest
17-
environment: demo
1817

1918
# Set the permissions to the lowest permissions possible needed for your steps.
2019
# Copilot will be given its own token for its operations.
@@ -59,8 +58,8 @@ jobs:
5958
if [ $ERROR_COUNT -gt 0 ]; then
6059
echo ""
6160
echo "FATAL: $ERROR_COUNT required secret(s) missing."
62-
echo "Please verify secrets are configured in the 'demo' environment."
63-
echo "Go to: Settings → Environments → demoEnvironment secrets"
61+
echo "Please verify secrets are configured as Repository secrets (not environment secrets)."
62+
echo "Go to: Settings → Secrets and variables → ActionsRepository secrets"
6463
exit 1
6564
fi
6665

0 commit comments

Comments
 (0)