I noticed the cron workflow has been broken for a while, when I was looking into whether some changes I made on the Nixpkgs/NixOS manual had already propagated to the homepage.
The YAML file had an error because it started the if condition with a ! without escaping it. The GitHub docs mention this case:
You must always use the ${{ }} expression syntax or escape with '', "", or () when the expression starts with !, since ! is reserved notation in YAML format.
This PR fixes this by following the same syntax as shown in the example in the GitHub docs link above.
I noticed the cron workflow has been broken for a while, when I was looking into whether some changes I made on the Nixpkgs/NixOS manual had already propagated to the homepage.
The YAML file had an error because it started the
if
condition with a!
without escaping it. The GitHub docs mention this case:This PR fixes this by following the same syntax as shown in the example in the GitHub docs link above.