summaryrefslogtreecommitdiff
path: root/.github/workflows/regen.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/regen.yml')
-rw-r--r--.github/workflows/regen.yml36
1 files changed, 0 insertions, 36 deletions
diff --git a/.github/workflows/regen.yml b/.github/workflows/regen.yml
deleted file mode 100644
index a31526084f..0000000000
--- a/.github/workflows/regen.yml
+++ /dev/null
@@ -1,36 +0,0 @@
-name: PR Regenerate Files
-
-permissions:
- contents: read
-
-on:
- pull_request:
- paths:
- - 'data/constants/**'
- - 'lib/python/**'
-
-jobs:
- regen:
- 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
-
- - name: Run qmk generators
- run: |
- util/regen.sh
- git diff
-
- - name: Fail when regeneration required
- run: |
- git diff
- for file in $(git diff --name-only); do
- echo "File '${file}' Requires Regeneration"
- echo "::error file=${file}::Requires Regeneration"
- done
- test -z "$(git diff --name-only)"