From 3d9d2843fee99fc288986fefc983c115e81b664c Mon Sep 17 00:00:00 2001 From: KOWX712 Date: Fri, 25 Jul 2025 18:55:57 +0800 Subject: [PATCH] misc: drop unknown key generation workflow branch will be removed in next release, all unknown keybox user should update to v4.0 or newer version --- .github/workflows/generate.yml | 35 ---------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 .github/workflows/generate.yml diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml deleted file mode 100644 index 372e456..0000000 --- a/.github/workflows/generate.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: generate - -on: - schedule: - - cron: "0 0 * * *" - workflow_dispatch: - -jobs: - generate: - runs-on: ubuntu-latest - - steps: - - name: Checkout Repository - uses: actions/checkout@v4 - with: - ref: 'bot' - - - name: Generate and encode - run: | - curl -Ls https://raw.githubusercontent.com/KOWX712/keyboxGenerator/main/keyboxGenerator_v2.0.py | python3 - base64 -w 0 "keybox.xml" | xxd -p | tr -d '\n' > .device - - - name: Commit changes - run: | - git config --global user.name "github-actions[bot]" - git config --global user.email "github-actions[bot]@users.noreply.github.com" - git add .device - LAST_COMMIT_MSG=$(git log -1 --pretty=%B) - if [[ "$LAST_COMMIT_MSG" == "Update .device" ]]; then - git commit --amend --no-edit - git push --force - else - git commit -m "Update .device" - git push - fi