Skip to content

Merge pull request #4 from fosslife/dev #4

Merge pull request #4 from fosslife/dev

Merge pull request #4 from fosslife/dev #4

Workflow file for this run

name: Validate PR Commits
# TODO: Uncomment this when we have a main branch
# on:
# pull_request:
# types: [opened, synchronize]
jobs:
validate-commits:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "lts/*"
cache: "yarn"
- name: Install dependencies
run: yarn install
- name: Validate all commits
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose