Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/test-on-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- run: pnpm install --frozen-lockfile
- run: pnpm lint
- name: commit linting changes
uses: stefanzweifel/git-auto-commit-action@v4.16.0
uses: stefanzweifel/git-auto-commit-action@v7.1.0
Copy link

Choose a reason for hiding this comment

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

Major version bump may break pull_request detached HEAD

Medium Severity

Bumping stefanzweifel/git-auto-commit-action from v4 to v7 in a pull_request-triggered workflow may cause failures. The actions/checkout@v3 with default settings checks out the merge ref (refs/pull/N/merge), resulting in a detached HEAD state. Version 7.0.0 restored detached state detection (which was introduced in v6.0.0 and immediately disabled in v6.0.1 because it broke PR workflows). Without specifying ref: ${{ github.head_ref }} in the checkout step, the action is likely to error out.

Additional Locations (1)

Fix in Cursor Fix in Web

with:
commit_message: ":robot: pnpm lint [skip ci]"
- run: pnpm test
Loading