workflows: Add Code Scanning

- https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning
- I just joined the Code Scanning team at work and I figured I'd test out the actual product in the real world by seeing what things it points out for Homebrew, a reasonably large Ruby project.
- This adds a config file to exclude `Library/Homebrew/vendor` as we can't fix problems within gems. :-)
This commit is contained in:
Issy Long
2022-04-15 15:24:49 +01:00
parent 04eab65849
commit 266daffbd1
2 changed files with 38 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
paths-ignore:
- Library/Homebrew/vendor/