From 739fb192364331a368cb0ee7591b684ac5ac93aa Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 15 Jul 2025 16:42:27 +0200 Subject: [PATCH] delete --- .github/workflows/weekly_sortjson.yaml | 32 -------------------------- 1 file changed, 32 deletions(-) delete mode 100644 .github/workflows/weekly_sortjson.yaml diff --git a/.github/workflows/weekly_sortjson.yaml b/.github/workflows/weekly_sortjson.yaml deleted file mode 100644 index 136675128..000000000 --- a/.github/workflows/weekly_sortjson.yaml +++ /dev/null @@ -1,32 +0,0 @@ -# yamllint disable rule:line-length ---- -name: Weekly sort json - -on: - schedule: - - cron: "0 0 * * 0" - workflow_dispatch: - -jobs: - sort_json: - if: github.repository_owner == 'alexbelgium' - runs-on: ubuntu-latest - steps: - - name: Checkout Repo - uses: actions/checkout@v4 - - name: Run script file - id: sort - run: | - for files in */*.json; do - echo "Sorting $files" - jq --sort-keys . "$files" > config2.json && cat config2.json > "$files" && rm config2.json - echo "changed=1" >> "$GITHUB_OUTPUT" - done - shell: bash - - name: Create New Pull Request If Needed - if: steps.sort.outputs.changed != '' - uses: peter-evans/create-pull-request@v7 - with: - title: "Github bot : json sorted" - branch-suffix: timestamp - commit-message: "Github bot : json sorted"