From 974de2ef25bd7375b006b3ee5e38fc046427a1c7 Mon Sep 17 00:00:00 2001 From: Sumu Date: Wed, 18 Oct 2023 17:14:45 -0400 Subject: [PATCH] fts Signed-off-by: Sumu --- .github/workflows/bump-latest-cdk8s-plus-library.yml | 2 +- src/k8s-automation.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bump-latest-cdk8s-plus-library.yml b/.github/workflows/bump-latest-cdk8s-plus-library.yml index 31bd0f674e..e6fb822ca8 100644 --- a/.github/workflows/bump-latest-cdk8s-plus-library.yml +++ b/.github/workflows/bump-latest-cdk8s-plus-library.yml @@ -65,7 +65,7 @@ jobs: continue-on-error: false - name: Set auto-approve label for PR if in testing mode id: set-auto-approve-label - if: github.event_name == "push" + if: ${{ github.event_name }} == "push" env: GITHUB_TOKEN: ${{ secrets.PROJEN_GITHUB_TOKEN }} run: echo labels="bug" >> $GITHUB_OUTPUT; diff --git a/src/k8s-automation.ts b/src/k8s-automation.ts index 5198a80095..9b84cfac24 100644 --- a/src/k8s-automation.ts +++ b/src/k8s-automation.ts @@ -126,7 +126,7 @@ export class K8sVersionUpgradeAutomation extends Component { { name: 'Set auto-approve label for PR if in testing mode', id: 'set-auto-approve-label', - if: 'github.event_name == "push"', + if: '${{ github.event_name }} == "push"', run: 'echo labels="bug" >> $GITHUB_OUTPUT;', // run: 'if (${{ github.event_name }} == push);then echo labels="bug" >> $GITHUB_OUTPUT;fi', // if: 'github.event.inputs.testingMode == false',