Merge pull request 'chore: sync release/0.1.11 into develop' (#24) from main into develop
Reviewed-on: Bonsai/Bonsai-webapp#24
This commit is contained in:
@@ -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.\"
|
||||||
}" \
|
}" \
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "bonsai-webapp",
|
"name": "bonsai-webapp",
|
||||||
"version": "0.1.5",
|
"version": "0.1.11",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"ng": "ng",
|
"ng": "ng",
|
||||||
"start": "ng serve",
|
"start": "ng serve",
|
||||||
|
|||||||
Reference in New Issue
Block a user