Skip to content
Merged
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
7 changes: 1 addition & 6 deletions .github/workflows/lint-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,7 @@ concurrency:
jobs:
lint-pr:
name: Validate PR title against Conventional Commits
runs-on: ubuntu-24.04
timeout-minutes: 5
permissions:
contents: read
pull-requests: read
steps:
- uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # pin v6.1.1
env:
GITHUB_TOKEN: ${{ github.token }}
uses: PostHog/.github/.github/workflows/semantic-pr-title.yml@926dd076f0c796f7531177ae5cfcf1cf7cf0aeb3
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 The pinned SHA has no inline comment describing what commit or tag it resolves to. The removed action had # pin v6.1.1 which made it easy to audit and bump the pin. Adding a similar comment here keeps the same traceability.

Suggested change
uses: PostHog/.github/.github/workflows/semantic-pr-title.yml@926dd076f0c796f7531177ae5cfcf1cf7cf0aeb3
uses: PostHog/.github/.github/workflows/semantic-pr-title.yml@926dd076f0c796f7531177ae5cfcf1cf7cf0aeb3 # main as of 2026-05-27
Prompt To Fix With AI
This is a comment left during a code review.
Path: .github/workflows/lint-pr.yml
Line: 21

Comment:
The pinned SHA has no inline comment describing what commit or tag it resolves to. The removed action had `# pin v6.1.1` which made it easy to audit and bump the pin. Adding a similar comment here keeps the same traceability.

```suggestion
    uses: PostHog/.github/.github/workflows/semantic-pr-title.yml@926dd076f0c796f7531177ae5cfcf1cf7cf0aeb3 # main as of 2026-05-27
```

How can I resolve this? If you propose a fix, please make it concise.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Loading