Skip to content

Commit b3dec9e

Browse files
authored
devops(revision): take the actions from main in the revise and push jobs (#43777)
1 parent bda54b0 commit b3dec9e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎.github/workflows/revision.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ name: PR revision
66
on:
77
# Apply needs-revision, needs-revision-mac or needs-revision-win; re-apply it to trigger another pass.
88
# pull_request_target always runs this file from main; the jobs only accept the triage app's own PRs.
9+
# The revise and push jobs check out the PR branch, so they take the actions from main by name.
910
pull_request_target:
1011
types: [labeled]
1112

@@ -101,7 +102,7 @@ jobs:
101102
- name: Revise with Copilot CLI
102103
id: agent
103104
# No GitHub tools and no URL access: the agent reads the PR only from the review the prepare job filtered.
104-
uses: ./.github/actions/run-agent
105+
uses: microsoft/playwright/.github/actions/run-agent@main
105106
with:
106107
prompt: |
107108
Follow the shared guide revision.md and this repo's AGENTS.md. Read both in full before starting.
@@ -133,7 +134,7 @@ jobs:
133134
path: ${{ runner.temp }}/revision
134135
# Never execute code or scripts from the proposed changes in the app job.
135136
- name: Validate and push
136-
uses: ./.github/actions/publish-patch
137+
uses: microsoft/playwright/.github/actions/publish-patch@main
137138
with:
138139
token: ${{ steps.app-token.outputs.token }}
139140
dir: ${{ runner.temp }}/revision/commit

0 commit comments

Comments
 (0)