diff --git a/.ci/diff-report.sh b/.ci/diff-report.sh index 4786980a26f..735b7f9bf8c 100755 --- a/.ci/diff-report.sh +++ b/.ci/diff-report.sh @@ -1,5 +1,6 @@ #!/bin/bash set -e +set -x source ./.ci/util.sh @@ -14,12 +15,15 @@ download-files) LINK="${LINK_FROM_PR:-$DEFAULT_PROJECTS_LINK}" # get projects file - curl --fail-with-body -X GET "${LINK}" \ + echo "LINK: $LINK" + curl -vv --fail-with-body "$LINK" \ -H "Accept: application/vnd.github+json" \ -H "Authorization: token $GITHUB_TOKEN" \ -o ../project.properties + if [ -n "$NEW_MODULE_CONFIG_LINK" ]; then + echo "NEW_MODULE_CONFIG_LINK: $NEW_MODULE_CONFIG_LINK" curl --fail-with-body -X GET "${NEW_MODULE_CONFIG_LINK}" \ -H "Accept: application/vnd.github+json" \ -H "Authorization: token $GITHUB_TOKEN" \ diff --git a/.github/workflows/diff-report.yml b/.github/workflows/diff-report.yml index d2b5dfb7416..68d0a541e2c 100644 --- a/.github/workflows/diff-report.yml +++ b/.github/workflows/diff-report.yml @@ -124,7 +124,7 @@ jobs: uses: actions/checkout@v3 with: repository: ${{ env.USER_LOGIN }}/checkstyle - ref: master + ref: fix-diff-report path: checkstyle fetch-depth: 0 @@ -137,6 +137,9 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | cd checkstyle + echo "This is a test" + echo "" + echo $(curl --version) ./.ci/diff-report.sh download-files cd ../