chore: improve no-override-ds-component so it works better when ESLint is upgraded #7582
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] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
commit-message-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Fetch base and current branch | |
run: | | |
git fetch --no-tags origin ${{ github.base_ref }} --depth=150 | |
git fetch --no-tags ${{github.event.pull_request.head.repo.clone_url}} ${{ github.head_ref }}:${{ github.head_ref }} --depth=150 | |
git switch ${{ github.head_ref }} | |
- name: Check commit messages | |
run: ./scripts/check-commit-messages.sh | |
env: | |
BASE_BRANCH_NAME: ${{ github.base_ref }} |