* Bump actions/checkout from 2.3.4 to 2.3.5
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](5a4ac9002d...1e204e9a92)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* test
* removing test, works
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
29 lines
803 B
YAML
29 lines
803 B
YAML
name: CodeQL analysis
|
|
|
|
# **What it does**: This runs CodeQL on our repository.
|
|
# **Why we have it**: Security scanning.
|
|
# **Who does it impact**: Docs engineering.
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- '**/*.js'
|
|
- '.github/workflows/codeql.yml'
|
|
|
|
jobs:
|
|
build:
|
|
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97
|
|
- uses: github/codeql-action/init@v1
|
|
with:
|
|
languages: javascript # comma separated list of values from {go, python, javascript, java, cpp, csharp} (not YET ruby, sorry!)
|
|
- uses: github/codeql-action/analyze@v1
|
|
continue-on-error: true
|