From b3aa2ccda683595239ed7e063659e19108505f43 Mon Sep 17 00:00:00 2001 From: box-sdk-build Date: Fri, 27 Sep 2024 02:00:27 -0700 Subject: [PATCH 1/4] chore: increase verbosity of `dotnet test` (box/box-codegen#574) --- .codegen.json | 2 +- .github/workflows/build.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.codegen.json b/.codegen.json index 4c03a414..aaa6fa52 100644 --- a/.codegen.json +++ b/.codegen.json @@ -1 +1 @@ -{ "engineHash": "a8a741c", "specHash": "6b64d06", "version": "1.2.0" } +{ "engineHash": "102c08d", "specHash": "6b64d06", "version": "1.2.0" } diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 34fc385f..a1e9ab81 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,7 +33,7 @@ jobs: WORKFLOW_FOLDER_ID: ${{ secrets.WORKFLOW_FOLDER_ID }} APP_ITEM_ASSOCIATION_FILE_ID: ${{ secrets.APP_ITEM_ASSOCIATION_FILE_ID }} APP_ITEM_ASSOCIATION_FOLDER_ID: ${{ secrets.APP_ITEM_ASSOCIATION_FOLDER_ID }} - run: dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=lcov + run: dotnet test --logger "console;verbosity=normal" /p:CollectCoverage=true /p:CoverletOutputFormat=lcov - name: Upload coverage report to Coveralls uses: coverallsapp/github-action@v2 with: From 8b6ce1b033c428e6926cb3c9e5ea82e475ed57d3 Mon Sep 17 00:00:00 2001 From: box-sdk-build Date: Fri, 27 Sep 2024 03:39:31 -0700 Subject: [PATCH 2/4] chore: Update .codegen.json with commit hash of codegen and openapi spec --- .codegen.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.codegen.json b/.codegen.json index aaa6fa52..e66ead71 100644 --- a/.codegen.json +++ b/.codegen.json @@ -1 +1 @@ -{ "engineHash": "102c08d", "specHash": "6b64d06", "version": "1.2.0" } +{ "engineHash": "5a78cc2", "specHash": "6b64d06", "version": "1.2.0" } From 277734f9d198c0d6d60a92a0d1892f5748a0829c Mon Sep 17 00:00:00 2001 From: box-sdk-build Date: Fri, 27 Sep 2024 08:37:48 -0700 Subject: [PATCH 3/4] chore: Build java on Travis and add `README` (box/box-codegen#573) --- .codegen.json | 2 +- .github/workflows/autoupdate-pr.yml | 4 ++-- .github/workflows/spell-check-lint.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.codegen.json b/.codegen.json index e66ead71..cebb9c82 100644 --- a/.codegen.json +++ b/.codegen.json @@ -1 +1 @@ -{ "engineHash": "5a78cc2", "specHash": "6b64d06", "version": "1.2.0" } +{ "engineHash": "1a0f05b", "specHash": "6b64d06", "version": "1.2.0" } diff --git a/.github/workflows/autoupdate-pr.yml b/.github/workflows/autoupdate-pr.yml index 185ab949..254d3f78 100644 --- a/.github/workflows/autoupdate-pr.yml +++ b/.github/workflows/autoupdate-pr.yml @@ -12,7 +12,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: - token: ${{ secrets.DISPATCH_ACCESS_TOKEN }} + token: $ - name: Set up Git run: | @@ -24,7 +24,7 @@ jobs: - name: Auto update pull requests run: | - PR_LIST=$(curl -s -H "Authorization: Bearer ${{ secrets.DISPATCH_ACCESS_TOKEN }}" "https://api.github.com/repos/$GITHUB_REPOSITORY/pulls?state=open" | jq -r '.[] | .head.ref') + PR_LIST=$(curl -s -H "Authorization: Bearer $" "https://api.github.com/repos/$GITHUB_REPOSITORY/pulls?state=open" | jq -r '.[] | .head.ref') for pr_branch in $PR_LIST; do git checkout "$pr_branch" if git merge origin/main; then diff --git a/.github/workflows/spell-check-lint.yml b/.github/workflows/spell-check-lint.yml index d2cad31c..a517793c 100644 --- a/.github/workflows/spell-check-lint.yml +++ b/.github/workflows/spell-check-lint.yml @@ -15,7 +15,7 @@ jobs: with: ref: refs/heads/main repository: box/box-sdk-spellchecker - token: ${{ secrets.DISPATCH_ACCESS_TOKEN }} + token: $ path: spellchecker - name: Execute spellchecker uses: ./spellchecker From 06b9f3ee591b4a9104fc84aac0478f4499d425dc Mon Sep 17 00:00:00 2001 From: box-sdk-build Date: Mon, 30 Sep 2024 02:43:04 -0700 Subject: [PATCH 4/4] chore: Fix generating static .github/workflows files (box/box-codegen#575) --- .codegen.json | 2 +- .github/workflows/autoupdate-pr.yml | 4 ++-- .github/workflows/spell-check-lint.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.codegen.json b/.codegen.json index cebb9c82..e9000034 100644 --- a/.codegen.json +++ b/.codegen.json @@ -1 +1 @@ -{ "engineHash": "1a0f05b", "specHash": "6b64d06", "version": "1.2.0" } +{ "engineHash": "244ba36", "specHash": "6b64d06", "version": "1.2.0" } diff --git a/.github/workflows/autoupdate-pr.yml b/.github/workflows/autoupdate-pr.yml index 254d3f78..185ab949 100644 --- a/.github/workflows/autoupdate-pr.yml +++ b/.github/workflows/autoupdate-pr.yml @@ -12,7 +12,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: - token: $ + token: ${{ secrets.DISPATCH_ACCESS_TOKEN }} - name: Set up Git run: | @@ -24,7 +24,7 @@ jobs: - name: Auto update pull requests run: | - PR_LIST=$(curl -s -H "Authorization: Bearer $" "https://api.github.com/repos/$GITHUB_REPOSITORY/pulls?state=open" | jq -r '.[] | .head.ref') + PR_LIST=$(curl -s -H "Authorization: Bearer ${{ secrets.DISPATCH_ACCESS_TOKEN }}" "https://api.github.com/repos/$GITHUB_REPOSITORY/pulls?state=open" | jq -r '.[] | .head.ref') for pr_branch in $PR_LIST; do git checkout "$pr_branch" if git merge origin/main; then diff --git a/.github/workflows/spell-check-lint.yml b/.github/workflows/spell-check-lint.yml index a517793c..d2cad31c 100644 --- a/.github/workflows/spell-check-lint.yml +++ b/.github/workflows/spell-check-lint.yml @@ -15,7 +15,7 @@ jobs: with: ref: refs/heads/main repository: box/box-sdk-spellchecker - token: $ + token: ${{ secrets.DISPATCH_ACCESS_TOKEN }} path: spellchecker - name: Execute spellchecker uses: ./spellchecker