ci: pin action SHAs and bump sticky-pull-request-comment to v3 (#8793)

This commit is contained in:
Taesu
2026-03-27 08:12:24 +09:00
committed by GitHub
parent 9234711532
commit 3d5dfd2089

View File

@@ -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