fix(ci): use gitea.ref instead of github.ref for tag detection (#1639)
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (pull_request) Successful in 3s
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 2s
CI/CD Pipeline / PR Build API Image (pull_request) Successful in 28s
CI/CD Pipeline / PR Build Worker Image (pull_request) Successful in 39s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 1m37s
AI Code Review / AI Code Review (pull_request) Failing after 2m4s
CI/CD Pipeline / PR Build Web Image (pull_request) Successful in 3m12s
CI/CD Pipeline / CI Gate (pull_request) Successful in 10s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 3m36s
CI/CD Pipeline / Canary Release to Production (pull_request) Failing after 314h31m28s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 314h32m36s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 314h32m36s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 314h32m37s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 314h32m44s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 314h32m45s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 314h33m22s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 314h33m23s
CI/CD Pipeline / Retag skipped Staging Worker Image (pull_request) Failing after 314h33m23s
CI/CD Pipeline / Retag skipped Staging API Image (pull_request) Failing after 314h33m24s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 314h34m17s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 314h34m18s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 314h34m18s
CI/CD Pipeline / Validate - Python (mypy + alembic) (pull_request) Failing after 314h34m18s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 314h34m19s
CI/CD Pipeline / Validate - Security (pull_request) Failing after 314h34m19s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 314h34m19s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 314h34m20s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Failing after 314h34m25s
CI/CD Pipeline / Check push changed paths (pull_request) Failing after 314h34m25s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 315h6m57s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 315h7m43s
CI/CD Pipeline / Retag skipped Staging Web Image (pull_request) Failing after 315h7m44s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 315h8m39s
CI/CD Pipeline / Validate - Style (pull_request) Failing after 315h8m40s
CI/CD Pipeline / Canary Release to Production (push) Failing after 314h56m25s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 315h7m4s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 314h56m28s
CI/CD Pipeline / Deploy Production (push) Failing after 314h22m4s
CI/CD Pipeline / Validate - Python (mypy + alembic) (push) Successful in 1m58s
CI/CD Pipeline / PR Build Web Image (push) Failing after 314h32m44s
CI/CD Pipeline / PR Build API Image (push) Failing after 314h32m44s
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (push) Successful in 4s
CI/CD Pipeline / Validate - Style (push) Successful in 3m15s
CI/CD Pipeline / Validate - Security (push) Successful in 6m46s
CI/CD Pipeline / Unit Tests (push) Successful in 10m9s
CI/CD Pipeline / Integration Tests (push) Successful in 2m28s
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 7m50s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 314h31m4s
CI/CD Pipeline / Retag skipped Staging Worker Image (push) Failing after 314h31m30s
CI/CD Pipeline / Retag skipped Staging Web Image (push) Failing after 314h31m32s
CI/CD Pipeline / Retag skipped Staging API Image (push) Failing after 314h31m33s
CI/CD Pipeline / Build Staging Worker Image (push) Failing after 314h32m42s
CI/CD Pipeline / Build Staging Web Image (push) Failing after 314h32m43s
CI/CD Pipeline / Build Staging API Image (push) Failing after 314h32m43s
CI/CD Pipeline / CI Gate (push) Failing after 314h22m7s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 314h32m46s
CI/CD Pipeline / Build Production API Image (push) Failing after 314h22m7s
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 314h30m51s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 314h30m53s
CI/CD Pipeline / Production Browser E2E (push) Failing after 314h22m2s
CI/CD Pipeline / Build Production Web Image (push) Failing after 314h22m7s
CI/CD Pipeline / ACR Image Cleanup (push) Failing after 314h30m50s
CI/CD Pipeline / Check push changed paths (push) Failing after 314h32m45s
CI/CD Pipeline / Frontend Lint (push) Failing after 314h32m0s

This commit was merged in pull request #1639.
This commit is contained in:
2026-09-03 12:50:32 +08:00
parent 794105f6f1
commit 7c5ab078bb
+3 -3
View File
@@ -1462,7 +1462,7 @@ jobs:
- unit-tests
- frontend-lint
- frontend-unit-test
if: startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'push' && github.ref_name == 'main')
if: startsWith(gitea.ref, 'refs/tags/v') || (github.event_name == 'push' && github.ref_name == 'main')
strategy:
fail-fast: false
matrix:
@@ -1612,7 +1612,7 @@ jobs:
concurrency:
group: deploy-production-${{ gitea.ref }}
cancel-in-progress: false
if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(gitea.ref, 'refs/tags/v')
needs:
- build-production
steps:
@@ -1744,7 +1744,7 @@ jobs:
name: Production Browser E2E
runs-on: runtime-builder
timeout-minutes: 15
if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(gitea.ref, 'refs/tags/v')
needs: deploy-production
steps:
- name: Checkout code