Correction ci - 4

This commit is contained in:
2026-05-25 08:28:25 +02:00
parent 316c7b1148
commit 2555efeef1
+2 -10
View File
@@ -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.\"
}" \