Skip to content

Commit

Permalink
add braces to github. conditional
Browse files Browse the repository at this point in the history
Signed-off-by: Sumu <[email protected]>
  • Loading branch information
sumupitchayan committed Oct 18, 2023
1 parent 624f9c6 commit ec0ad03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bump-latest-cdk8s-plus-library.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/k8s-automation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class K8sVersionUpgradeAutomation extends Component {
pullRequests: workflows.JobPermission.WRITE,
},
needs: ['check-latest-k8s-release'],
if: 'needs.check-latest-k8s-release.outputs.httpStatus != 200 github.event.inputs.testingMode == false',
if: 'needs.check-latest-k8s-release.outputs.httpStatus != 200 ${{ github.event.inputs.testingMode }} == false',
steps: [
{
name: 'Checkout',
Expand Down Expand Up @@ -158,7 +158,7 @@ export class K8sVersionUpgradeAutomation extends Component {
pullRequests: workflows.JobPermission.WRITE,
},
needs: ['check-latest-k8s-release'],
if: 'needs.check-latest-k8s-release.outputs.httpStatus != 200 && (github.event.inputs.testingMode == true || github.event_name == "push")',
if: 'needs.check-latest-k8s-release.outputs.httpStatus != 200 && (${{ github.event.inputs.testingMode }} == true || ${{ github.event_name }} == "push")',
steps: [
{
name: 'Checkout',
Expand Down

0 comments on commit ec0ad03

Please sign in to comment.