@samitouri / QOS-React-2 / commits / d46b04a27d

[ci] Fix maintainer output condition check (#32111)

It appears GH actions treats outputs from workflow_calls to [always be strings](https://github.com/orgs/community/discussions/9343) so we need to do an explicit comparison.

lauren committed Jan 17, 2025 at 10:35 UTC d46b04a27dc9fb4c7baaa379f5a6aec1449883a1
2 files changed +2 -2
.github/workflows/compiler_discord_notify.yml
+1 -1
@@ -12,7 +12,7 @@ jobs:
12 uses: facebook/react/.github/workflows/shared_check_maintainer.yml@main
13
14 notify:
15 - if: ${{ needs.check_maintainer.outputs.is_core_team }}
15 + if: ${{ needs.check_maintainer.outputs.is_core_team == 'true' }}
16 needs: check_maintainer
17 runs-on: ubuntu-latest
18 steps:
.github/workflows/runtime_discord_notify.yml
+1 -1
@@ -12,7 +12,7 @@ jobs:
12 uses: facebook/react/.github/workflows/shared_check_maintainer.yml@main
13
14 notify:
15 - if: ${{ needs.check_maintainer.outputs.is_core_team }}
15 + if: ${{ needs.check_maintainer.outputs.is_core_team == 'true' }}
16 needs: check_maintainer
17 runs-on: ubuntu-latest
18 steps: