Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/build-health-checkup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
env:
HUSKY: 0

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
env:
HUSKY: 0

permissions:
contents: read

jobs:
code-quality-checks:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
env:
HUSKY: 0

permissions:
contents: read

jobs:
unit-tests:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/visual-regression-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
env:
HUSKY: 0

permissions:
contents: read

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing actions: write permission breaks artifact upload

Medium Severity

Setting top-level permissions with only contents: read causes all other permissions (including actions) to default to none. The actions/upload-artifact@v6 action (v4+) requires actions: write to upload artifacts via the new backend. This means the "Upload test results" step will fail when visual regression tests fail, preventing developers from accessing the Playwright report needed to debug failures.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 0206dda. Configure here.


jobs:
visual-regression:
runs-on: ubuntu-latest
Expand Down