From 6fda541844159f8033ed2ea8e1b4bfc81af98a9b Mon Sep 17 00:00:00 2001 From: Sumu Date: Thu, 19 Oct 2023 10:49:05 -0400 Subject: [PATCH] switch back to parens to test 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 bf354af45c..d08cfb8e9e 100644 --- a/.github/workflows/bump-latest-cdk8s-plus-library.yml +++ b/.github/workflows/bump-latest-cdk8s-plus-library.yml @@ -67,7 +67,7 @@ jobs: id: set-auto-approve-label env: GITHUB_TOKEN: ${{ secrets.PROJEN_GITHUB_TOKEN }} - run: if [true];then echo labels="auto-approve" >> $GITHUB_OUTPUT;fi + run: if (true);then echo labels="auto-approve" >> $GITHUB_OUTPUT;fi continue-on-error: false - name: Create Pull Request id: create-pr diff --git a/src/k8s-automation.ts b/src/k8s-automation.ts index 45b92cad25..b18fa1a4b1 100644 --- a/src/k8s-automation.ts +++ b/src/k8s-automation.ts @@ -129,7 +129,7 @@ export class K8sVersionUpgradeAutomation extends Component { // if: '!(${{ github.event_name }} == "push")', // run: 'echo labels="bug" >> $GITHUB_OUTPUT;', //${{ github.event.inputs.testingMode }} - run: 'if [true];then echo labels="auto-approve" >> $GITHUB_OUTPUT;fi', + run: 'if (true);then echo labels="auto-approve" >> $GITHUB_OUTPUT;fi', // run: 'if [${{ github.event_name }} = "push"];then echo labels="auto-approve" >> $GITHUB_OUTPUT;fi', // if: 'github.event.inputs.testingMode == false', // run: 'echo labels="auto-approve" >> $GITHUB_OUTPUT',