From 8c8e1ad4d3f6a197cc7a0550940e0c71d84c050e Mon Sep 17 00:00:00 2001 From: vin Date: Mon, 15 Jan 2024 18:48:55 -0500 Subject: remove unused dotfiles in root --- .github/workflows/format.yml | 55 -------------------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 .github/workflows/format.yml (limited to '.github/workflows/format.yml') diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml deleted file mode 100644 index 9e8b80c883..0000000000 --- a/.github/workflows/format.yml +++ /dev/null @@ -1,55 +0,0 @@ -name: PR Lint Format - -permissions: - contents: read - -on: - pull_request: - paths: - - 'drivers/**' - - 'lib/arm_atsam/**' - - 'lib/lib8tion/**' - - 'lib/python/**' - - 'platforms/**' - - 'quantum/**' - - 'tests/**' - - 'tmk_core/**' - -jobs: - lint: - runs-on: ubuntu-latest - - container: ghcr.io/qmk/qmk_cli - - steps: - - name: Disable safe.directory check - run : git config --global --add safe.directory '*' - - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Install dependencies - run: | - pip3 install -r requirements-dev.txt - - - name: Get changed files - id: file_changes - uses: tj-actions/changed-files@v39 - - - name: Run qmk formatters - shell: 'bash {0}' - run: | - echo '${{ steps.file_changes.outputs.added_files}}' '${{ steps.file_changes.outputs.modified_files}}' > ~/files_changed.txt - qmk format-c --core-only $(< ~/files_changed.txt) || true - qmk format-python $(< ~/files_changed.txt) || true - qmk format-text $(< ~/files_changed.txt) || true - - - name: Fail when formatting required - run: | - git diff - for file in $(git diff --name-only); do - echo "File '${file}' Requires Formatting" - echo "::error file=${file}::Requires Formatting" - done - test -z "$(git diff --name-only)" -- cgit v1.2.3