6120265ba4
* [Github Workflows] Only generate navigator files on push to main
* fix workflow logic syntax
(cherry picked from commit 6653acb21c)