Update CodeQL workflow to v4 and replace deprecated LGTM badges (#1079)
* Add CodeQL workflow and replace deprecated LGTM badges
This commit is contained in:
committed by
GitHub
parent
83d84d1e27
commit
70d7a3e0bf
39
.github/workflows/codeql.yml
vendored
Normal file
39
.github/workflows/codeql.yml
vendored
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
name: "CodeQL"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "main", "master" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "main", "master" ]
|
||||||
|
|
||||||
|
schedule:
|
||||||
|
- cron: '30 1 * * 0'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
analyze:
|
||||||
|
name: Analyze
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
actions: read
|
||||||
|
contents: read
|
||||||
|
security-events: write
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
language: [ 'javascript' ]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Initialize CodeQL
|
||||||
|
uses: github/codeql-action/init@v4
|
||||||
|
with:
|
||||||
|
languages: ${{ matrix.language }}
|
||||||
|
|
||||||
|
- name: Autobuild
|
||||||
|
uses: github/codeql-action/autobuild@v4
|
||||||
|
|
||||||
|
- name: Perform CodeQL Analysis
|
||||||
|
uses: github/codeql-action/analyze@v4
|
||||||
@@ -5,8 +5,9 @@
|
|||||||
[](https://www.npmjs.com/package/svgedit)
|
[](https://www.npmjs.com/package/svgedit)
|
||||||
[](https://github.com/SVG-Edit/svgedit/actions)
|
[](https://github.com/SVG-Edit/svgedit/actions)
|
||||||
[](https://snyk.io/test/github/SVG-Edit/svgedit)
|
[](https://snyk.io/test/github/SVG-Edit/svgedit)
|
||||||
[](https://lgtm.com/projects/g/SVG-Edit/svgedit/alerts)
|
[](https://github.com/SVG-Edit/svgedit/actions/workflows/codeql.yml)
|
||||||
[](https://lgtm.com/projects/g/SVG-Edit/svgedit/context:javascript)
|
|
||||||
|
|
||||||
|
|
||||||
**SVGEdit** is a fast, web-based, JavaScript-driven SVG drawing editor that
|
**SVGEdit** is a fast, web-based, JavaScript-driven SVG drawing editor that
|
||||||
works in any modern browser. **SVGEdit** is based on a powerful SVG canvas **@svgedit/svgcanvas**
|
works in any modern browser. **SVGEdit** is based on a powerful SVG canvas **@svgedit/svgcanvas**
|
||||||
|
|||||||
Reference in New Issue
Block a user