Merge pull request #13027 from openlayers/revert-13022-codeql-tweak

Restore the security scan workflow
This commit is contained in:
Tim Schaub
2021-11-20 09:24:37 -07:00
committed by GitHub

27
.github/workflows/security.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: "Security Scan"
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 0 * * 0' # At 00:00 on Sunday
jobs:
codeql:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: javascript
source-root: src
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1