From e5a71a9f1dc40f575cfef8cfe51e3cb2e3640ab3 Mon Sep 17 00:00:00 2001 From: golf66 <69233028+hudeng-go@users.noreply.github.com> Date: Wed, 16 Jul 2025 11:14:42 +0800 Subject: [PATCH] chore: Update auto-tag.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 已经有新的翻译更新流程,并且该流程还会导致tag流程失败,因此可以在autotag中去掉。 --- .github/workflows/auto-tag.yml | 45 ---------------------------------- 1 file changed, 45 deletions(-) diff --git a/.github/workflows/auto-tag.yml b/.github/workflows/auto-tag.yml index 6a6624740..afb102bc8 100644 --- a/.github/workflows/auto-tag.yml +++ b/.github/workflows/auto-tag.yml @@ -23,51 +23,6 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} persist-credentials: false - - name: Check .tx/config - id: check_files - uses: andstor/file-existence-action@v1 - with: - files: ".tx/config" - - name: Check .tx/deepin.conf - id: check_deepin - uses: andstor/file-existence-action@v1 - with: - files: ".tx/deepin.conf" - - name: Check translations config - if: steps.check_files.outputs.files_exists == 'true' && steps.check_deepin.outputs.files_exists == 'false' - run: | - echo "need .tx/deepin.conf, it likes: " - echo "--------------------------------" - echo "[transifex]" - echo "branch = m20" - echo "--------------------------------" - echo "Because we don't know the translation branch corresponding to this branch." - echo "If you don't know the corresponding translation branch, don't set branch value, we will use the default value." - exit 1 - - name: Init transifex file - if: steps.check_files.outputs.files_exists == 'true' - run: | - # TODO: not environment variable, action will override $HOME - mkdir -p /home/runner/work/_temp/_github_home/ - cat << EOF > /home/runner/work/_temp/_github_home/.transifexrc - [https://www.transifex.com] - rest_hostname = https://rest.api.transifex.com - api_hostname = https://api.transifex.com - hostname = https://www.transifex.com - token = ${{ env.TRANSIFEX_API_TOKEN }} - EOF - - name: Check translations update - if: steps.check_files.outputs.files_exists == 'true' - uses: justforlxz/deepin-builder-docker/translate@master - - name: Check git files - if: steps.check_files.outputs.files_exists == 'true' - shell: bash - run: | - lines=$(git status -s | wc -l | awk '{print $1}') - git status -s - if [[ x"$lines" != x0 ]]; then - exit 2 - fi - name: get changelog version id: get-version run: |