Merge pull request 'Correction ci - 4' (#11) from release/0.1.10 into main

Reviewed-on: Bonsai/Bonsai-webapp#11
This commit is contained in:
2026-05-25 08:30:59 +02:00
+2 -10
View File
@@ -21,15 +21,7 @@ jobs:
- name: Install curl - name: Install curl
run: apk add --no-cache curl run: apk add --no-cache curl
- name: Check API token access - name: Create PR main → develop
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
run: | run: |
RELEASE_BRANCH="${{ github.event.pull_request.head.ref }}" RELEASE_BRANCH="${{ github.event.pull_request.head.ref }}"
@@ -38,7 +30,7 @@ jobs:
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d "{ -d "{
\"title\": \"chore: sync ${RELEASE_BRANCH} into develop\", \"title\": \"chore: sync ${RELEASE_BRANCH} into develop\",
\"head\": \"${RELEASE_BRANCH}\", \"head\": \"main\",
\"base\": \"develop\", \"base\": \"develop\",
\"body\": \"Synchronisation automatique après merge de ${RELEASE_BRANCH} dans main.\" \"body\": \"Synchronisation automatique après merge de ${RELEASE_BRANCH} dans main.\"
}" \ }" \