[enhancement]: adapt linkcheck workflow to automatically run if we are on a documentation-related branch
Enhancement
Currently linkcheck is only run on a CRON schedule. It would be more efficient if it also ran specifically on pull requests which actively alter documentation in the doc/rtd directory to avoid delayed reporting of link failures after PR merge.
Enhancement
Currently linkcheck is only run on a CRON schedule. It would be more efficient if it also ran specifically on pull requests which actively alter documentation in the doc/rtd directory to avoid delayed reporting of link failures after PR merge.
The reason that we made this a cron job in the first place is because networks are inherently flaky, which caused workflow issues any time a website we linked to was temporarily unreachable. Bringing this back for doc-only requests will cause the same issue as before. If anything, I think it would have to be like the packaging CI jobs (which run after the job merges) which notify the developer that their change caused an issue (or could be ignored if a website is unreachable).