Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Pilot Lvl 1
Message 11 of 14

Re: `jobs.<job_id>.if` not working?

Yes! I tried it as well and it worked!

 

Now let's hope it stays / gets documented.

Pilot Lvl 1
Message 12 of 14

Re: `jobs.<job_id>.if` not working?

One caveat / percularity:

 

If you add jobs.<job_id>.if to all jobs of the workflow and none of them evalute to true none of the actions will be run (as expected) and the workflow/jobs will not show up on a pull request (also a expected). But if you go to the Actions tab you will see teh workflow running and appearing to run forever (doing nothing).

Highlighted
Ground Controller Lvl 1
Message 13 of 14

Re: `jobs.<job_id>.if` not working?

For some reasons the jobs dont even show up... Can you share your snippet?

Highlighted
Pilot Lvl 1
Message 14 of 14

Re: `jobs.<job_id>.if` not working?

And with todays announcement (https://github.blog/changelog/2019-10-01-github-actions-new-workflow-syntax-features/) it is also documented again!