OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Make curl errors easier to debug when they fail
Christophe Bliarde8e87575c6c4
diff --git a/.github/workflows/cd-storybook.yml b/.github/workflows/cd-storybook.ymlindex 41f8948079c..e2404762ffc 100644--- a/.github/workflows/cd-storybook.yml+++ b/.github/workflows/cd-storybook.yml@@ -20,7 +20,7 @@ jobs:DS_CD_WORKFLOW_ID: build-docs.ymlDS_REPOSITORY: opf/design-systemrun: |- curl -i --fail -H"authorization: Bearer $TOKEN" \+ curl -i --fail-with-body -H"authorization: Bearer $TOKEN" \-XPOST -H"Accept: application/vnd.github.v3+json" \https://api.github.com/repos/$DS_REPOSITORY/actions/workflows/$DS_CD_WORKFLOW_ID/dispatches \-d '{ "ref": "dev", "inputs": { "ref": "${{ github.ref }}" }}'diff --git a/.github/workflows/continuous-delivery.yml b/.github/workflows/continuous-delivery.ymlindex 03ffbd9203d..4a99998a635 100644--- a/.github/workflows/continuous-delivery.yml+++ b/.github/workflows/continuous-delivery.yml@@ -20,7 +20,7 @@ jobs:REPOSITORY: opf/saas-openprojectWORKFLOW_ID: continuous-delivery-saas.ymlrun: |- curl -i --fail -H"authorization: Bearer $TOKEN" \+ curl -i --fail-with-body -H"authorization: Bearer $TOKEN" \-XPOST -H"Accept: application/vnd.github.v3+json" \https://api.github.com/repos/$REPOSITORY/actions/workflows/$WORKFLOW_ID/dispatches \-d '{"ref": "${{ github.ref }}"}'@@ -32,7 +32,7 @@ jobs:WORKFLOW_ID: ci.ymlCORE_REF: ${{ github.ref }}run: |- curl -i --fail -H"authorization: Bearer $TOKEN" \+ curl -i --fail-with-body -H"authorization: Bearer $TOKEN" \-XPOST -H"Accept: application/vnd.github.v3+json" \https://api.github.com/repos/$REPOSITORY/actions/workflows/$WORKFLOW_ID/dispatches \-d '{"ref": "dev", "inputs": { "ref" : "$CORE_REF" }}'