diff --git a/.github/workflows/bump-latest-cdk8s-plus-library.yml b/.github/workflows/bump-latest-cdk8s-plus-library.yml index addfc959f3..e418d6b189 100644 --- a/.github/workflows/bump-latest-cdk8s-plus-library.yml +++ b/.github/workflows/bump-latest-cdk8s-plus-library.yml @@ -62,7 +62,7 @@ jobs: id: set-auto-approve-label env: GITHUB_TOKEN: ${{ secrets.PROJEN_GITHUB_TOKEN }} - run: bash src/setLabelsScript.sh $outputs.testingMode + run: bash src/setLabelsScript.sh ${{ steps.set-testing-mode-var.outputs.testingMode }} continue-on-error: false generate-new-k8s-spec: needs: diff --git a/src/k8s-automation.ts b/src/k8s-automation.ts index ea9d88ab87..adcab2a7c5 100644 --- a/src/k8s-automation.ts +++ b/src/k8s-automation.ts @@ -125,7 +125,7 @@ export class K8sVersionUpgradeAutomation extends Component { { name: 'Set auto-approve label for PR', id: 'set-auto-approve-label', - run: 'bash src/setLabelsScript.sh $outputs.testingMode', + run: 'bash src/setLabelsScript.sh ${{ steps.set-testing-mode-var.outputs.testingMode }}', // run: 'if [ ${{ steps.set-testing-mode-var.outputs.testingMode }} = "true" ];then echo labels="bug" >> $GITHUB_OUTPUT;fi', env: { GITHUB_TOKEN: '${{ secrets.PROJEN_GITHUB_TOKEN }}' }, continueOnError: false,