I have created a workflow with jobs.<job_id>.if but it fails with:
- Your workflow file was invalid: .github/workflows/test.yml (Line: 7, Col: 5): Unexpected value 'if'
Documentation says it should be possible.
I created a small example at: https://github.com/reload/actions-test/pull/1/checks
Edit August 14, 2019: jobs.<job_id>.if has been removed from the documentation now. See workaround below.
Edit October 1, 2019: it’s back, working and documented!