Skip to content

Lint & test "Lint PR title" action #37

Lint & test "Lint PR title" action

Lint & test "Lint PR title" action #37

name: Lint & test "Lint PR title" action
on:
push:
branches:
- main
paths:
- .github/workflows/test-lint-pr-title.yml
- actions/lint-pr-title/**
pull_request:
paths:
- .github/workflows/test-lint-pr-title.yml
- actions/lint-pr-title/**
merge_group:
jobs:
build-lint-pr-title:
runs-on: ubuntu-latest
defaults:
run:
working-directory: actions/lint-pr-title
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Install bun package manager
uses: oven-sh/setup-bun@4bc047ad259df6fc24a6c9b0f9a0cb08cf17fbe5 # v2.0.1
with:
bun-version-file: "actions/lint-pr-title/package.json"
- name: Install lint-pr-title dependencies
run: bun install --frozen-lockfile
- name: Lint
run: bun lint
- name: Test
run: bun test