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

The workflow-level permissions: contents: read declaration causes all unspecified permissions to default to none. The actions/upload-artifact@v6 step (used on test failure) requires actions: write permission to upload artifacts. This means when visual regression tests fail, the artifact upload step will also fail, preventing developers from accessing the Playwright report and test results needed to debug failures.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 2e75881. Configure here.


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