Bump actions/setup-node from 3 to 4 #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Requests | |
on: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- reopened | |
- synchronize | |
- ready_for_review | |
- review_requested | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
commit_message: | |
name: Check Commit Message | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check for GitHub's default message. | |
uses: gsactions/commit-message-checker@4c06ad2446942246543ef9c50f672a58782bf7b0 | |
with: | |
pattern: '^(?!Update\s+\S*$).*$' | |
error: "Please use a meaningful commit message." | |
excludeDescription: "true" | |
excludeTitle: "true" | |
checkAllCommitMessages: "true" | |
accessToken: ${{ secrets.GITHUB_TOKEN }} | |
- name: Check for unsquashed `fixup!` commits. | |
if: ${{ ! github.event.pull_request.draft }} | |
uses: gsactions/commit-message-checker@4c06ad2446942246543ef9c50f672a58782bf7b0 | |
with: | |
pattern: '^(?!fixup!(\s|$))' | |
error: "A `fixup!` commit was found." | |
excludeDescription: "true" | |
excludeTitle: "true" | |
checkAllCommitMessages: "true" | |
accessToken: ${{ secrets.GITHUB_TOKEN }} |