sopel-irc / sopel

:robot::speech_balloon: An easy-to-use and highly extensible IRC Bot framework. Formerly Willie.
https://sopel.chat
Other
949 stars 403 forks source link

CodeQL: restrict paths on which action should run #2534

Closed dgw closed 11 months ago

dgw commented 11 months ago

Saves us from burning GHA minutes (4-5 min/run) on CodeQL analysis when no files in the sopel/ directory were changed.

Should have done this in #2528 but alas, I forgot.

Checklist

Notes

No, unnecessary Actions runs don't cost the project anything, but since it's so easy to be nice and not waste even free resources on analyzing non-code changes, I think we might as well.

Thought about it, but can't skip the CI pipeline for unrelated changes because those checks are marked as required. They also finish in just a minute or two, vs. the 4-5 minutes (or longer) that CodeQL takes to run.