mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-23 07:18:56 -05:00
ci: pin action SHAs and bump sticky-pull-request-comment to v3 (#8793)
This commit is contained in:
8
.github/workflows/semantic-pull-request.yml
vendored
8
.github/workflows/semantic-pull-request.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check PR title
|
||||
uses: amannn/action-semantic-pull-request@v6
|
||||
uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6
|
||||
id: lint_pr_title
|
||||
with:
|
||||
subjectPattern: ^(?![A-Z]).+$ # Ensure the subject doesn't start with an uppercase character
|
||||
@@ -29,7 +29,8 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Comment on invalid PR title
|
||||
uses: marocchino/sticky-pull-request-comment@v2
|
||||
uses: marocchino/sticky-pull-request-comment@70d2764d1a7d5d9560b100cbea0077fc8f633987 # v3
|
||||
# NOTE: null comparison is intentional per official README
|
||||
if: always() && (steps.lint_pr_title.outputs.error_message != null)
|
||||
with:
|
||||
header: pr-title-lint-error
|
||||
@@ -45,7 +46,8 @@ jobs:
|
||||
```
|
||||
|
||||
- name: Remove comment on valid PR title
|
||||
uses: marocchino/sticky-pull-request-comment@v2
|
||||
uses: marocchino/sticky-pull-request-comment@70d2764d1a7d5d9560b100cbea0077fc8f633987 # v3
|
||||
# NOTE: null comparison is intentional per official README
|
||||
if: ${{ steps.lint_pr_title.outputs.error_message == null }}
|
||||
with:
|
||||
header: pr-title-lint-error
|
||||
|
||||
Reference in New Issue
Block a user