From cdf5c2b646ef39d51683d81214cb2905b0b9ccd1 Mon Sep 17 00:00:00 2001 From: Arnaud Dartois Date: Fri, 14 Aug 2026 18:37:53 +0200 Subject: [PATCH] =?UTF-8?q?ci:=20revert=20bascule=20@v6=20(URL=20directe)?= =?UTF-8?q?=20=E2=80=94=20retour=20checkout=20.ci=20+=20PAT?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le runner forgejo-runner v13 refuse le clone d'action cross-repo par URL directe : 403 'User permission denied' (token du job sans accès au repo templates), alors que le clone anonyme fonctionne. Le checkout .ci + TEMPLATES_PAT est le système validé (runs PR). La bascule ci-*@v6 reste dispo dans templates. --- .forgejo/workflows/ci.yml | 10 +++++++++- .forgejo/workflows/release.yml | 20 ++++++++++++++++++-- .forgejo/workflows/renovate.yml | 10 +++++++++- 3 files changed, 36 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 7bf2f21..593047f 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -26,7 +26,15 @@ jobs: - uses: https://forgejo.tordais.cc/actions/checkout@v4 with: fetch-depth: 0 - - uses: https://forgejo.tordais.cc/nonobis/templates/.forgejo/actions/ci-full@v6 + + - uses: https://forgejo.tordais.cc/actions/checkout@v4 + with: + repository: nonobis/templates + token: ${{ secrets.TEMPLATES_PAT }} + path: .ci + ref: main + + - uses: ./.ci/.forgejo/actions/ci-full with: project: heimdall secrets-provider: infisical diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index 4a78a52..f0aaba8 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -34,7 +34,15 @@ jobs: - uses: https://forgejo.tordais.cc/actions/checkout@v4 with: fetch-depth: 0 - - uses: https://forgejo.tordais.cc/nonobis/templates/.forgejo/actions/ci-release@v6 + + - uses: https://forgejo.tordais.cc/actions/checkout@v4 + with: + repository: nonobis/templates + token: ${{ secrets.TEMPLATES_PAT }} + path: .ci + ref: main + + - uses: ./.ci/.forgejo/actions/ci-release with: project: heimdall secrets-provider: infisical @@ -58,7 +66,15 @@ jobs: - uses: https://forgejo.tordais.cc/actions/checkout@v4 with: fetch-depth: 0 - - uses: https://forgejo.tordais.cc/nonobis/templates/.forgejo/actions/ci-release@v6 + + - uses: https://forgejo.tordais.cc/actions/checkout@v4 + with: + repository: nonobis/templates + token: ${{ secrets.TEMPLATES_PAT }} + path: .ci + ref: main + + - uses: ./.ci/.forgejo/actions/ci-release with: project: heimdall secrets-provider: infisical diff --git a/.forgejo/workflows/renovate.yml b/.forgejo/workflows/renovate.yml index 9fd96e3..0328458 100644 --- a/.forgejo/workflows/renovate.yml +++ b/.forgejo/workflows/renovate.yml @@ -15,7 +15,15 @@ jobs: runs-on: debian-12 steps: - uses: https://forgejo.tordais.cc/actions/checkout@v4 - - uses: https://forgejo.tordais.cc/nonobis/templates/.forgejo/actions/ci-renovate@v6 + + - uses: https://forgejo.tordais.cc/actions/checkout@v4 + with: + repository: nonobis/templates + token: ${{ secrets.TEMPLATES_PAT }} + path: .ci + ref: main + + - uses: ./.ci/.forgejo/actions/ci-renovate with: project: nonobis/heimdall vault-url: https://vault.tordais.cc