diff --git a/.github/workflows/health_checks.yml b/.github/workflows/health_checks.yml index 816a79547d..bf2d63289b 100644 --- a/.github/workflows/health_checks.yml +++ b/.github/workflows/health_checks.yml @@ -269,7 +269,7 @@ jobs: run: | mkdir api-validation-projects npx tsx scripts/check_api_changes.ts base-branch-content api-validation-projects - generate_changeset: + handle_dependabot_version_update: if: github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]' runs-on: ubuntu-latest needs: @@ -284,16 +284,18 @@ jobs: with: node-version: 18 cdk-version: ${{ needs.resolve_inputs.outputs.cdk_version }} - - name: Generate changesets for packages with version updates + - name: Handle Dependabot version update pull request run: npx tsx scripts/dependabot_handle_version_update.ts "$BASE_SHA" "$HEAD_SHA" env: BASE_SHA: ${{ github.event.pull_request.base.sha }} HEAD_SHA: ${{ github.event.pull_request.head.sha }} + # The dependabot_handler_version_update script needs to add the 'run-e2e' pull request label + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} do_include_e2e: needs: - install - resolve_inputs - - generate_changeset + - handle_dependabot_version_update runs-on: ubuntu-latest permissions: # This is required so that the step can read the labels on the pull request