Skip to content

Fixed one more CMake issue from merge #2465

Fixed one more CMake issue from merge

Fixed one more CMake issue from merge #2465

name: Checks - spelling

Check failure on line 1 in .github/workflows/check-spelling.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/check-spelling.yml

Invalid workflow file

(Line: 11, Col: 1): 'concurrency' is already defined
on:
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
jobs:
spelling_check:
runs-on: ubuntu-latest
steps:
- name: Install python3-pip
run: |
sudo apt update
sudo apt install -y --no-install-recommends python3-pip
- name: Install codespell
run: pip install codespell
- name: Print codespell version
run: codespell --version
- name: Check out repository code
uses: actions/checkout@v5
- name: Run codespell
run: |
./scripts/spelling.sh
- name: Run git diff to see if anything changed
run: /usr/bin/git diff --exit-code
- name: Run git diff if we failed
if: failure()
run: /usr/bin/git diff > spelling.patch
- name: Archive diff as a patch if we failed
uses: actions/upload-artifact@v4
if: failure()
with:
name: spelling.patch
path: |
${{ github.workspace }}/spelling.patch