From 6460135a729d32e29c0dd70b7da7590dfe2d46a8 Mon Sep 17 00:00:00 2001 From: 0marperez <60363173+0marperez@users.noreply.github.com> Date: Wed, 17 Apr 2024 13:16:43 -0400 Subject: [PATCH] Update codebuild-ci.yml --- .github/workflows/codebuild-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codebuild-ci.yml b/.github/workflows/codebuild-ci.yml index d67ce3ec782..c17b6d8afa9 100644 --- a/.github/workflows/codebuild-ci.yml +++ b/.github/workflows/codebuild-ci.yml @@ -4,8 +4,8 @@ on: release: types: [ published ] pull_request: - branches: - - main + types: [ opened, synchronize, reopened, labeled, unlabeled ] + branches: [ main ] workflow_dispatch: inputs: aws-sdk-kotlin-pr: @@ -158,7 +158,8 @@ jobs: await github.graphql(writeComment) - - name: Evaluate Result # TODO: ADD LOGIC FOR LABEL THAT MAKES US IGNORE THIS (SEE: https://github.com/awslabs/aws-sdk-kotlin/blob/main/.github/workflows/api-compat-verification.yml) + - name: Evaluate Result + if: ${{ !contains(github.event.pull_request.labels.*.name, 'acknowledge-artifact-size-increase') }} run: | cat has-significant-change.txt | grep true if [ $? = 0 ]; then