Member-only story
Introduction
GitHub Code Scanning was released to the public on September.
While reading the official document, I summarized the contents that I actually used in this article.
What is GitHub Code Scanning?
GitHub Code Scanning is a service that automatically detects code vulnerabilities based on CodeQL acquired by GitHub.
How to use GitHub Code Scanning ???
The official GitHub docs only describe tutorials that pop in the Web UI as usual, but since it’s just one of GitHub Actions, .github/workflows
you can use it by placing a YAML file in your directory. An example of the setting that uses the default CodeQL of Code Scanning is as follows.
name: CodeQL
on: [push, pull_request]
jobs:
analyze:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2…