From b1c869bcec9c6a8c1f3a208e140d621a9d1f429a Mon Sep 17 00:00:00 2001 From: box-sdk-build Date: Tue, 16 Dec 2025 08:48:38 -0800 Subject: [PATCH] chore: Make dependabot builds run without secrets (box/box-codegen#904) --- .codegen.json | 2 +- .github/workflows/build.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.codegen.json b/.codegen.json index ae1d027ab..c96fa681e 100644 --- a/.codegen.json +++ b/.codegen.json @@ -1 +1 @@ -{ "engineHash": "de55410", "specHash": "1e0848d", "version": "10.2.0" } +{ "engineHash": "467757c", "specHash": "1e0848d", "version": "10.2.0" } diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2755672f5..68c075193 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,7 +30,7 @@ jobs: python -m pip install -e .[dev] python -m pip install tox-gh-actions - name: All Tests - if: startsWith(github.head_ref, 'codegen-release') + if: ${{ startsWith(github.head_ref, 'codegen-release') && github.actor != 'dependabot[bot]' }} env: JWT_CONFIG_BASE_64: ${{ secrets.JWT_CONFIG_BASE_64 }} ADMIN_USER_ID: ${{ secrets.ADMIN_USER_ID }} @@ -51,7 +51,7 @@ jobs: run: | tox - name: Smoke Tests - if: "!startsWith(github.head_ref, 'codegen-release')" + if: ${{ !startsWith(github.head_ref, 'codegen-release') && github.actor != 'dependabot[bot]' }} env: JWT_CONFIG_BASE_64: ${{ secrets.JWT_CONFIG_BASE_64 }} CLIENT_ID: ${{ secrets.CLIENT_ID }}