Skip to content

Commit 2235aa7

Browse files
committed
Explicit conditional matching
1 parent fe1b9d5 commit 2235aa7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/pr.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
rust_changed: ${{ steps.rust.outputs.any_changed }}
4949

5050
info:
51-
timeout-minutes: 3
51+
timeout-minutes: 3`
5252
needs: meta
5353
runs-on: ubuntu-latest
5454
steps:
@@ -65,7 +65,7 @@ jobs:
6565
6666
rust:
6767
needs: meta
68-
if: needs.meta.outputs.any_changed
68+
if: needs.meta.outputs.any_changed == 'true'
6969
runs-on: ubuntu-latest
7070
container: ghcr.io/linkerd/dev:v43-rust
7171
permissions:
@@ -87,7 +87,7 @@ jobs:
8787

8888
rust-crates:
8989
needs: meta
90-
if: needs.meta.outputs.cargo_changed
90+
if: needs.meta.outputs.cargo_changed == 'true'
9191
timeout-minutes: 20
9292
runs-on: ubuntu-latest
9393
container: ghcr.io/linkerd/dev:v43-rust
@@ -102,7 +102,7 @@ jobs:
102102

103103
linkerd-install:
104104
needs: meta
105-
if: needs.meta.outputs.any_changed
105+
if: needs.meta.outputs.any_changed == 'true'
106106
timeout-minutes: 20
107107
runs-on: ubuntu-latest
108108
steps:
@@ -142,7 +142,7 @@ jobs:
142142

143143
merge-dependabot:
144144
needs: [meta, ok]
145-
if: needs.meta.outputs.any_changed && needs.meta.outputs.is_dependabot == 'true'
145+
if: needs.meta.outputs.any_changed == 'true' && needs.meta.outputs.is_dependabot == 'true'
146146
runs-on: ubuntu-latest
147147
permissions:
148148
contents: write

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
with:
100100
path: artifacts
101101
- run: du -h artifacts/**/*
102-
- if: needs.meta.outputs.publish
102+
- if: needs.meta.outputs.publish == 'true'
103103
uses: softprops/action-gh-release@d99959edae48b5ffffd7b00da66dcdb0a33a52ee
104104
with:
105105
name: v${{ needs.meta.outputs.version }}

0 commit comments

Comments
 (0)