Skip to content

Merge pull request #450 from cailloumajor/renovate/centrifuge-5.x #2494

Merge pull request #450 from cailloumajor/renovate/centrifuge-5.x

Merge pull request #450 from cailloumajor/renovate/centrifuge-5.x #2494

Workflow file for this run

name: Lint commit messages
on:
push:
branches:
- main
- "renovate/**"
pull_request:
branches:
- main
jobs:
pre_job:
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5
with:
concurrent_skipping: same_content
do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]'
skip_after_successful_duplicate: true
commitlint:
runs-on: ubuntu-latest
needs: pre_job
if: needs.pre_job.outputs.should_skip != 'true'
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
with:
fetch-depth: 0
# Workaround, see https://github.com/wagoid/commitlint-github-action/issues/560#issuecomment-1277659864
- run: rm tsconfig.json
- uses: wagoid/commitlint-github-action@v5