ci: switch to shared actions #332
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Check commit messages' | |
on: | |
pull_request: | |
jobs: | |
check_commit_messages: | |
name: 'Check commit messages' | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout repository' | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: 'Setup Python' | |
uses: dfinity/ci-tools/actions/setup-python@main | |
- name: 'Setup Commitizen' | |
uses: dfinity/ci-tools/actions/setup-commitizen@main | |
- name: 'Check commit messages' | |
uses: dfinity/ci-tools/actions/check-commit-messages@main | |
with: | |
starting_commit: 'ac8f90b7c45e13e240d6c01a43d191b99f1aec4a' | |
- name: 'Check pull request title' | |
uses: dfinity/ci-tools/actions/check-pr-title@main |