Skip to content

Lint & test "Lint PR title" action #126

Lint & test "Lint PR title" action

Lint & test "Lint PR title" action #126

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/**
types:
- edited
- opened
- ready_for_review
- synchronize
merge_group:
jobs:
build-lint-pr-title:
runs-on: ubuntu-latest
defaults:
run:
working-directory: actions/lint-pr-title
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- 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