From 96ecafae11c2151ea239afe44dde917a5306dd10 Mon Sep 17 00:00:00 2001 From: box-sdk-build Date: Mon, 4 Aug 2025 07:26:39 -0700 Subject: [PATCH 1/2] chore: Adjust `github` workflows for legacy repos (box/box-codegen#772) --- .codegen.json | 2 +- .github/ISSUE_TEMPLATE/config.yml | 6 +++--- .github/workflows/autoupdate-pr.yml | 2 +- .github/workflows/build.yml | 5 ++--- .github/workflows/notify-changelog.yml | 2 +- .github/workflows/semantic-pr.yml | 2 ++ .github/workflows/spell-check-lint.yml | 2 +- 7 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.codegen.json b/.codegen.json index 4130666a..0d068567 100644 --- a/.codegen.json +++ b/.codegen.json @@ -1 +1 @@ -{ "engineHash": "12f2054", "specHash": "5bf3652", "version": "0.1.0" } +{ "engineHash": "205c0e9", "specHash": "5bf3652", "version": "0.1.0" } diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 5c9f2e19..246e0487 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,14 +1,14 @@ blank_issues_enabled: false contact_links: - name: SDK documentation - url: https://github.com/box/box-python-sdk-gen/tree/main/docs + url: https://github.com/box/box-python-sdk/tree/sdk-gen/docs about: Before creating an issue, I have checked that the SDK documentation doesn't solve my issue. - name: API documentation url: https://developer.box.com/docs about: Before creating an issue, I have checked that the API documentation doesn't solve my issue. - name: Box Developer Forums - url: https://community.box.com/t5/Platform-and-Development-Forum/bd-p/DeveloperForum + url: https://community.box.com/box-platform-5 about: Before creating an issue, I have searched the Box Developer Forums and my issue isn't already reported there. - name: Issues in this repo - url: https://github.com/box/box-python-sdk-gen/search?type=Issues + url: https://github.com/box/box-python-sdk/search?type=Issues about: Before creating an issue, I have searched Issues in this repo and my issue isn't already reported. diff --git a/.github/workflows/autoupdate-pr.yml b/.github/workflows/autoupdate-pr.yml index 185ab949..080c51c3 100644 --- a/.github/workflows/autoupdate-pr.yml +++ b/.github/workflows/autoupdate-pr.yml @@ -2,7 +2,7 @@ name: Autoupdate PR on: push: branches: - - main + - sdk-gen jobs: update_pull_requests: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a419259d..b30e4f5a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,11 +2,10 @@ name: Build on: pull_request: branches: - - main + - sdk-gen push: branches: - - main - + - sdk-gen jobs: build: runs-on: ubuntu-latest diff --git a/.github/workflows/notify-changelog.yml b/.github/workflows/notify-changelog.yml index c7c05c92..be5f7610 100644 --- a/.github/workflows/notify-changelog.yml +++ b/.github/workflows/notify-changelog.yml @@ -24,4 +24,4 @@ jobs: token: ${{ secrets.DISPATCH_ACCESS_TOKEN }} repository: box/box-developer-changelog event-type: new-release-note - client-payload: '{"ref": "${{ github.ref }}", "repository": "${{github.repository}}", "labels": "sdks,python", "repo_display_name": "Box Python SDK Generated"}' + client-payload: '{"ref": "${{ github.ref }}", "repository": "${{github.repository}}", "labels": "sdks,python", "repo_display_name": "Box Python SDK"}' diff --git a/.github/workflows/semantic-pr.yml b/.github/workflows/semantic-pr.yml index cbff636c..de1b2c83 100644 --- a/.github/workflows/semantic-pr.yml +++ b/.github/workflows/semantic-pr.yml @@ -6,6 +6,8 @@ on: - opened - edited - synchronize + branches: + - sdk-gen jobs: main: diff --git a/.github/workflows/spell-check-lint.yml b/.github/workflows/spell-check-lint.yml index 659bbd3f..6bcfc58e 100644 --- a/.github/workflows/spell-check-lint.yml +++ b/.github/workflows/spell-check-lint.yml @@ -3,7 +3,7 @@ on: pull_request_target: types: [opened, synchronize, edited] branches: - - main + - sdk-gen jobs: spellcheck-request: runs-on: ubuntu-latest From ba292e603f36a0390d29f3bbc4f53a815e14a04a Mon Sep 17 00:00:00 2001 From: box-sdk-build Date: Mon, 4 Aug 2025 10:52:40 -0700 Subject: [PATCH 2/2] 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 0d068567..37e27ff4 100644 --- a/.codegen.json +++ b/.codegen.json @@ -1 +1 @@ -{ "engineHash": "205c0e9", "specHash": "5bf3652", "version": "0.1.0" } +{ "engineHash": "bc7324e", "specHash": "5bf3652", "version": "0.1.0" }