Skip to content

Commit 6cb49d1

Browse files
committed
Use CI trigger token for Evergreen preflight
1 parent 8c960e1 commit 6cb49d1

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/evergreen.lock.yml

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

.github/workflows/evergreen.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
name: Evaluate PR gate state
5555
shell: bash
5656
env:
57-
GH_TOKEN: ${{ github.token }}
57+
GH_TOKEN: ${{ secrets.GH_AW_CI_TRIGGER_TOKEN || github.token }}
5858
REPO: ${{ github.repository }}
5959
EVENT_NAME: ${{ github.event_name }}
6060
EVENT_ACTION: ${{ github.event.action }}

.github/workflows/shared/evergreen/repo-policy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ readiness controller and the agentic orchestrator must both respect this file.
9898
through safe outputs by the agent (never from preflight) and labeled
9999
`evergreen: trigger CI`; they do not count as semantic repair attempts.
100100
- Token policy: `GITHUB_TOKEN` for reads and control-plane label writes.
101-
`GH_AW_CI_TRIGGER_TOKEN` (existing PAT) is used by gh-aw for pushes so that PR
102-
branch pushes trigger CI (default-token pushes do not).
101+
`GH_AW_CI_TRIGGER_TOKEN` (existing PAT) is used by gh-aw for CI reruns and
102+
pushes so that PR branch pushes trigger CI (default-token pushes do not).
103103

104104
## Repair Policy
105105

0 commit comments

Comments
 (0)