Skip to content

Commit be97a0f

Browse files
authored
sync(ci): update tooling versions and artifact retention (#279)
1 parent 200df8e commit be97a0f

File tree

9 files changed

+17
-13
lines changed

9 files changed

+17
-13
lines changed

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ tmp
6767
.golangci.yml
6868
.goreleaser.yml
6969
.vscode
70-
docs
7170
LICENSE
7271
README.md
7372
codecov.yml

.github/env/10-coverage.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ GO_COVERAGE_PROVIDER=internal
3232
CODECOV_TOKEN_REQUIRED=false
3333

3434
# Go Coverage Tool Version
35-
GO_COVERAGE_VERSION=v1.3.5
35+
GO_COVERAGE_VERSION=v1.3.6
3636
GO_COVERAGE_USE_LOCAL=false
3737

3838
# ================================================================================================

.github/env/10-mage-x.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
# ================================================================================================
3737

3838
# MAGE-X version
39-
MAGE_X_VERSION=v1.20.4
39+
MAGE_X_VERSION=v1.20.6
4040

4141
# For mage-x development, set to 'true' to use local version instead of downloading from releases
4242
MAGE_X_USE_LOCAL=false
@@ -61,7 +61,7 @@ MAGE_X_FORMAT_EXCLUDE_PATHS=vendor,node_modules,.git,.idea
6161

6262
MAGE_X_GITLEAKS_VERSION=8.30.0
6363
MAGE_X_GOFUMPT_VERSION=v0.9.2
64-
MAGE_X_GOLANGCI_LINT_VERSION=v2.9.0
64+
MAGE_X_GOLANGCI_LINT_VERSION=v2.10.1
6565
MAGE_X_GORELEASER_VERSION=v2.13.3
6666
MAGE_X_GOVULNCHECK_VERSION=v1.1.4
6767
MAGE_X_GO_SECONDARY_VERSION=1.24.x

.github/env/10-pre-commit.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ GO_PRE_COMMIT_ALL_FILES=true
5252
# 🛠️ TOOL VERSIONS
5353
# ================================================================================================
5454

55-
GO_PRE_COMMIT_GOLANGCI_LINT_VERSION=v2.9.0
55+
GO_PRE_COMMIT_GOLANGCI_LINT_VERSION=v2.10.1
5656
GO_PRE_COMMIT_FUMPT_VERSION=v0.9.2
5757
GO_PRE_COMMIT_GOIMPORTS_VERSION=latest
5858
GO_PRE_COMMIT_GITLEAKS_VERSION=v8.30.0

.github/workflows/fortress-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2382,7 +2382,7 @@ jobs:
23822382
with:
23832383
name: coverage-stats-internal
23842384
path: coverage-stats-internal-*.json
2385-
retention-days: 1
2385+
retention-days: 7
23862386

23872387
# --------------------------------------------------------------------
23882388
# Upload coverage history for future runs (WORKING SYSTEM - PRESERVED)

.github/workflows/fortress-test-fuzz.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,5 +257,5 @@ jobs:
257257
path: |
258258
.mage-x/ci-results-fuzz.jsonl
259259
fuzz-output.log
260-
retention-days: 1
260+
retention-days: 7
261261
if-no-files-found: ignore

.github/workflows/fortress-test-matrix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ jobs:
407407
path: |
408408
.mage-x/ci-results.jsonl
409409
test-output.log
410-
retention-days: 1
410+
retention-days: 7
411411
if-no-files-found: ignore
412412

413413
# --------------------------------------------------------------------
@@ -446,4 +446,4 @@ jobs:
446446
with:
447447
name: coverage-data
448448
path: coverage.txt
449-
retention-days: 1
449+
retention-days: 7

.github/workflows/fortress-test-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,5 +416,5 @@ jobs:
416416
with:
417417
name: validation-summary
418418
path: ci-results/
419-
retention-days: 1
419+
retention-days: 7
420420
if-no-files-found: ignore

.github/workflows/pull-request-management-fork.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Purpose: Automate labeling, assignment, and welcoming of pull requests for forked PRs.
55
#
6-
# Configuration: All settings are loaded from .env.base and .env.custom files for
6+
# Configuration: All settings are loaded from modular .github/env/*.env files for
77
# centralized management across all workflows.
88
#
99
# Triggers: Pull request events (opened, reopened, ready for review, closed, synchronize)
@@ -108,7 +108,7 @@ concurrency:
108108
# --------------------------------------------------------------------
109109
# Environment Variables
110110
# --------------------------------------------------------------------
111-
# Note: Configuration variables are loaded from .env.base and .env.custom files
111+
# Note: Configuration variables are loaded from modular .github/env/*.env files
112112

113113
jobs:
114114
# ------------------------------------------------------------
@@ -117,6 +117,8 @@ jobs:
117117
load-env:
118118
name: 🌍 Load Environment (Base Repo)
119119
runs-on: ubuntu-latest
120+
# Only run for fork PRs - same-repo PRs are handled by pull-request-management.yml
121+
if: ${{ github.event.pull_request.head.repo && github.event.pull_request.head.repo.full_name != github.repository }}
120122
# No write perms here
121123
permissions:
122124
contents: read
@@ -175,6 +177,8 @@ jobs:
175177
detect-fork:
176178
name: 🔍 Detect Fork PR
177179
runs-on: ubuntu-latest
180+
# Only run for fork PRs - same-repo PRs are handled by pull-request-management.yml
181+
if: ${{ github.event.pull_request.head.repo && github.event.pull_request.head.repo.full_name != github.repository }}
178182
permissions:
179183
contents: read
180184
outputs:
@@ -476,7 +480,8 @@ jobs:
476480
summary:
477481
name: 📊 Summary
478482
runs-on: ubuntu-latest
479-
if: always()
483+
# Only run for fork PRs, but always show summary regardless of job status
484+
if: always() && github.event.pull_request.head.repo && github.event.pull_request.head.repo.full_name != github.repository
480485
needs: [load-env, detect-fork, handle-fork, clean-cache]
481486
steps:
482487
- name: 📄 Write summary

0 commit comments

Comments
 (0)