Skip to content

Commit 1e2746c

Browse files
authored
devops(bots): pin the shared actions to a commit SHA (#3319)
1 parent 015115d commit 1e2746c

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎.github/actions/setup-triage-runner/action.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ inputs:
1414
runs:
1515
using: composite
1616
steps:
17-
- uses: microsoft/playwright/.github/actions/ci-env@main
17+
- uses: microsoft/playwright/.github/actions/ci-env@d1518e3e3fca90352c4390814943cced496fd7e4 # main
1818
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
1919
with:
2020
python-version: '3.12'

‎.github/workflows/ci.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
shell: bash
109109
steps:
110110
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
111-
- uses: microsoft/playwright/.github/actions/ci-env@main
111+
- uses: microsoft/playwright/.github/actions/ci-env@d1518e3e3fca90352c4390814943cced496fd7e4 # main
112112
- name: Set up Python
113113
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
114114
with:
@@ -165,7 +165,7 @@ jobs:
165165
shell: bash
166166
steps:
167167
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
168-
- uses: microsoft/playwright/.github/actions/ci-env@main
168+
- uses: microsoft/playwright/.github/actions/ci-env@d1518e3e3fca90352c4390814943cced496fd7e4 # main
169169
- name: Set up Python
170170
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
171171
with:

‎.github/workflows/revision.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
steps:
3838
- name: Collect the PR and the maintainers' comments
3939
id: collect
40-
uses: microsoft/playwright/.github/actions/collect-review@main
40+
uses: microsoft/playwright/.github/actions/collect-review@d1518e3e3fca90352c4390814943cced496fd7e4 # main
4141
with:
4242
pull-request: ${{ github.event.pull_request.number }}
4343
- name: Post the run link
@@ -92,7 +92,7 @@ jobs:
9292
- name: Revise with Copilot CLI
9393
id: agent
9494
# No GitHub tools and no URL access: the agent reads the PR only from the review the prepare job filtered.
95-
uses: microsoft/playwright/.github/actions/run-agent@main
95+
uses: microsoft/playwright/.github/actions/run-agent@d1518e3e3fca90352c4390814943cced496fd7e4 # main
9696
with:
9797
prompt: |
9898
Follow the shared guide revision.md and this repo's AGENTS.md. Read both in full before starting. $PLAYWRIGHT_DIR is the .upstream/ checkout of microsoft/playwright at the commit in DRIVER_VERSION; do not edit, commit or switch branches in it.
@@ -127,7 +127,7 @@ jobs:
127127
path: ${{ runner.temp }}/revision
128128
# Never execute code or scripts from the artifact in the app job. The calls are data.
129129
- name: Check and make the calls
130-
uses: microsoft/playwright/.github/actions/publish-calls@main
130+
uses: microsoft/playwright/.github/actions/publish-calls@d1518e3e3fca90352c4390814943cced496fd7e4 # main
131131
with:
132132
token: ${{ steps.app-token.outputs.token }}
133133
dir: ${{ runner.temp }}/revision

‎.github/workflows/roll.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ jobs:
117117
id: agent
118118
# No GitHub tools and no URL access: the agent reads upstream only from .upstream/, so text from
119119
# issues and PRs does not reach it.
120-
uses: microsoft/playwright/.github/actions/run-agent@main
120+
uses: microsoft/playwright/.github/actions/run-agent@d1518e3e3fca90352c4390814943cced496fd7e4 # main
121121
with:
122122
prompt: |
123123
Roll Playwright Python from microsoft/playwright ${{ env.OLD_COMMIT }} to ${{ env.NEW_COMMIT }}. Follow the playwright-roll skill, .claude/skills/playwright-roll/SKILL.md, and AGENTS.md. Read both in full before starting.
@@ -256,7 +256,7 @@ jobs:
256256
# Never execute code or scripts from the roll in the app job. The call is data.
257257
- name: Check and make the call
258258
id: publish
259-
uses: microsoft/playwright/.github/actions/publish-calls@main
259+
uses: microsoft/playwright/.github/actions/publish-calls@d1518e3e3fca90352c4390814943cced496fd7e4 # main
260260
with:
261261
token: ${{ steps.app-token.outputs.token }}
262262
dir: ${{ runner.temp }}/roll

‎.github/workflows/triage.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
} >> "$GITHUB_OUTPUT"
127127
- name: Triage with Copilot CLI
128128
id: agent
129-
uses: microsoft/playwright/.github/actions/run-agent@main
129+
uses: microsoft/playwright/.github/actions/run-agent@d1518e3e3fca90352c4390814943cced496fd7e4 # main
130130
with:
131131
prompt: ${{ steps.prompt.outputs.prompt }}
132132
output-dir: ${{ env.OUTPUT_DIR }}
@@ -193,7 +193,7 @@ jobs:
193193
# Never execute code or scripts from the artifact in the app job. The calls are data.
194194
- name: Check and make the calls
195195
id: publish
196-
uses: microsoft/playwright/.github/actions/publish-calls@main
196+
uses: microsoft/playwright/.github/actions/publish-calls@d1518e3e3fca90352c4390814943cced496fd7e4 # main
197197
with:
198198
token: ${{ steps.app-token.outputs.token }}
199199
dir: ${{ runner.temp }}/triage

0 commit comments

Comments
 (0)