diff --git a/.gitea/workflows/update_version.yml b/.gitea/workflows/update_version.yml index 8f354b5..4cc16b8 100644 --- a/.gitea/workflows/update_version.yml +++ b/.gitea/workflows/update_version.yml @@ -13,7 +13,6 @@ jobs: update-version: name: Update Version runs-on: ubuntu-latest - # Пропускаем workflow если коммит от бота if: github.actor != 'gitea-actions[bot]' && github.actor != 'Gitea Actions Bot' permissions: contents: write @@ -42,4 +41,11 @@ jobs: env: GITEA_TOKEN: ${{ secrets.PAT_TOKEN }} PYTHONHTTPSVERIFY: "0" - run: semantic-release version \ No newline at end of file + run: | + echo "🧹 Сбрасываем конфликтующие переменные Gitea Actions..." + unset GITHUB_SERVER_URL + unset GITHUB_API_URL + unset GITHUB_REPOSITORY + + echo "🚀 Запускаем semantic-release..." + semantic-release version \ No newline at end of file