diff --git a/.gitea/workflows/commitlint.yml b/.gitea/workflows/commitlint.yml index b526bba..64570d5 100644 --- a/.gitea/workflows/commitlint.yml +++ b/.gitea/workflows/commitlint.yml @@ -1,19 +1,17 @@ -name: commitlint +name: Rum commitlint on: pull_request: - branches: - - "*" - types: - - opened - - edited + branches: [ '**' ] + types: [ "opened", "edited" ] jobs: check-and-test: - runs-on: ubuntu-latest container: commitlint/commitlint:19.9.1 + name: Execute commitlint + runs-on: docker.io/ubuntu-latest steps: - uses: actions/checkout@v5 - - name: check PR title + - name: Check PR title run: | echo "${{ gitea.event.pull_request.title }}" | commitlint --config .commitlintrc.json