Skip to content

feat(Clients): Allow client to list scope and account #47

feat(Clients): Allow client to list scope and account

feat(Clients): Allow client to list scope and account #47

Workflow file for this run

name: Commitlint
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
commitlint:
runs-on: ubuntu-latest
if: github.actor != 'dependabot[bot]' && github.event.head_commit.author.name != 'dependabot[bot]'
steps:
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: '24'
- name: Install dependencies
run: npm install
- name: Validate current commit (push)
if: github.event_name == 'push'
run: npx commitlint --from HEAD~1 --to HEAD --verbose
- name: Validate PR commits
if: github.event_name == 'pull_request'
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose