Skip to content

Commit 4a49aec

Browse files
committed
Run pr-review workflow in protected environment
The COPILOT_GITHUB_TOKEN secret is gated behind the 'protected' environment. Without declaring it, the validate_multi_secret.sh step fails because the secret is not exposed to the job.
1 parent 28b031d commit 4a49aec

2 files changed

Lines changed: 21 additions & 22 deletions

File tree

.github/workflows/pr-review.lock.yml

Lines changed: 19 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/pr-review.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ concurrency:
3232

3333
timeout-minutes: 30
3434

35+
environment: protected
36+
3537
strict: false
3638

3739
engine:

0 commit comments

Comments
 (0)