Skip to content

Commit f38fc83

Browse files
authored
chore: test CI with PAT (#31)
* chore: test CI with PAT to add Playwright Summary as comment - this will hopefully fix the failures when PR comes from Renovate which uses public forks
1 parent e41c118 commit f38fc83

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ jobs:
8484
github.event.pull_request.number &&
8585
always()
8686
uses: peter-evans/create-or-update-comment@v2
87+
env:
88+
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
8789
with:
8890
comment-id: ${{ steps.fc.outputs.comment-id }}
8991
issue-number: ${{ github.event.pull_request.number }}

playwright/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default defineConfig({
44
fullyParallel: true,
55
// reporter: process.env.CI ? 'dot' : 'list',
66
reporter: [['html', { outputFolder: '../playwright-report' }]],
7-
retries: process.env.CI ? 1 : 0,
7+
// retries: process.env.CI ? 1 : 0,
88
testDir: './e2e',
99
timeout: 30 * 1000,
1010
expect: {

0 commit comments

Comments
 (0)