Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
fix(ci): keep Copilot GitHub access read-only (#41791)
Simon Knott84d2d0043cee
diff --git a/.github/workflows/create_test_report.yml b/.github/workflows/create_test_report.ymlindex 4ddaaa8bdf..be985b4350 100644--- a/.github/workflows/create_test_report.yml+++ b/.github/workflows/create_test_report.yml@@ -190,7 +190,7 @@ jobs:if: needs.triage.outputs.has_draft == 'true'runs-on: ubuntu-latestpermissions:- issues: write+ pull-requests: writeenv:PR_NUMBER: ${{ needs.triage.outputs.pr_number }}GH_TOKEN: ${{ github.token }}@@ -206,4 +206,3 @@ jobs:run: |printf '\n\n<sub>Triaged by the Playwright bot - [agent run](%s)</sub>\n<!-- playwright-ci-triage -->\n' "$WORKFLOW_URL" >> output/triage.mdgh issue comment "$PR_NUMBER" --repo "${{ github.repository }}" --body-file output/triage.md-diff --git a/.github/workflows/fix-flakes-prompt.md b/.github/workflows/fix-flakes-prompt.mdindex c56b9dfa02..ba43719927 100644--- a/.github/workflows/fix-flakes-prompt.md+++ b/.github/workflows/fix-flakes-prompt.md@@ -4,6 +4,9 @@ Turn CI test-results data into **one** concrete fix: pick a high-impact flaky-orconfirm nobody's on it, fix the root cause *or* scope a skip, pick a reviewer, and hand off asingle commit that becomes the PR. Fully autonomous — no approval stops.+The GitHub CLI (`gh`) is not authenticated in this job. Do not use it for GitHub API operations;+use GitHub MCP tools instead.+## 1. Pick one targetQuery the DB following the patterns in `.claude/skills/playwright-test-results/SKILL.md`.diff --git a/.github/workflows/fix-flakes.yml b/.github/workflows/fix-flakes.ymlindex 464df570a6..740a857bdf 100644--- a/.github/workflows/fix-flakes.yml+++ b/.github/workflows/fix-flakes.yml@@ -58,6 +58,9 @@ jobs:an expensive runner to fix a flaky or red test is most worthwhile right now, and handoff only that runner label. Do NOT fix anything.+ The GitHub CLI is not authenticated in this job. Do not run gh; use GitHub MCP tools+ for all GitHub reads.+Optimise for the OS with the highest-impact actionable flakiness/reds that isn'talready being worked on OR already fixed. A candidate is dead if a fix PR touches it(open, or recently merged/closed) — the DB window still holds the failing runs fromdiff --git a/.github/workflows/triage.yml b/.github/workflows/triage.ymlindex 62fdbf2095..7e3a766fef 100644--- a/.github/workflows/triage.yml+++ b/.github/workflows/triage.yml@@ -46,6 +46,9 @@ jobs:PROMPT=$(cat <<EOFTriage https://github.com/${{ github.repository }}/issues/$ISSUE using the playwright-triage skill.+ The GitHub CLI is not authenticated in this job. Do not run gh; use GitHub MCP tools+ for all GitHub reads.+Do not post anything yourself. Write the comment to output/triage.md and a later step posts it.EOF)