There were two issues:
- ${{ }} converts the expression to a string and strings are apparently always truthy
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idif
- There was a typo in pr_data
Therefore, the check didn't work properly.
Signed-off-by: Ondřej Budai <ondrej@budai.cz>
|
||
|---|---|---|
| .. | ||
| ISSUE_TEMPLATE | ||
| workflows | ||
| dependabot.yml | ||
| PULL_REQUEST_TEMPLATE.md | ||