From 2555efeef1a41cd0c7aefe8597fe82b76a95176c Mon Sep 17 00:00:00 2001 From: Gato Date: Mon, 25 May 2026 08:28:25 +0200 Subject: [PATCH] Correction ci - 4 --- .gitea/workflows/sync-develop.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/sync-develop.yml b/.gitea/workflows/sync-develop.yml index 6d07276..d797464 100644 --- a/.gitea/workflows/sync-develop.yml +++ b/.gitea/workflows/sync-develop.yml @@ -21,15 +21,7 @@ jobs: - name: Install curl run: apk add --no-cache curl - - name: Check API token access - run: | - STATUS=$(curl -s -o /tmp/api_response.json -w "%{http_code}" \ - -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \ - "https://git.goutailler-olivier.com/api/v1/repos/${{ gitea.repository }}") - echo "GET /repos/${{ gitea.repository }} → HTTP $STATUS" - cat /tmp/api_response.json - - - name: Create PR release → develop + - name: Create PR main → develop run: | RELEASE_BRANCH="${{ github.event.pull_request.head.ref }}" @@ -38,7 +30,7 @@ jobs: -H "Content-Type: application/json" \ -d "{ \"title\": \"chore: sync ${RELEASE_BRANCH} into develop\", - \"head\": \"${RELEASE_BRANCH}\", + \"head\": \"main\", \"base\": \"develop\", \"body\": \"Synchronisation automatique après merge de ${RELEASE_BRANCH} dans main.\" }" \