Skip to content

build(deps): bump actions/stale from 9.1.0 to 10.0.0 (#2) #3

build(deps): bump actions/stale from 9.1.0 to 10.0.0 (#2)

build(deps): bump actions/stale from 9.1.0 to 10.0.0 (#2) #3

Workflow file for this run

name: Commit Lint
on:
push:
permissions:
contents: read
jobs:
commit-lint:
name: Commit Lint
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout Repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- name: Set Up Bun
uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76
- name: Install Dependencies
run: bun i
- name: Extract Commit Message (Push)
if: ${{ github.event_name }} == 'push'
run: |
git log -1 --pretty=%B > commit_message.txt
- name: Extract Commit Message (Pull Request)
if: ${{ github.event_name }} == 'pull_request'
run: |
git show -s --format=%B > commit_message.txt
- name: Lint
run: |
COMMIT_MESSAGE=$(cat commit_message.txt)
echo "$COMMIT_MESSAGE" | bun commitlint