workflows/comment: fix workflow syntax

Github doesn't evaluate expressions unless they're inside ${{ }}

See: https://github.com/mpv-player/mpv/actions?query=is%3Afailure+event%3Aworkflow_run
This commit is contained in:
llyyr 2024-09-17 09:49:11 +05:30 committed by sfan5
parent cae3aee23b
commit 22620af459
1 changed files with 1 additions and 2 deletions

View File

@ -7,8 +7,7 @@ on:
jobs:
pr_comment:
if: github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success'
if: ${{ github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- env: