1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-12-08 00:44:30 +01:00

ci: add codeql-analysis

This commit is contained in:
divlo 2021-04-20 17:32:53 +02:00
parent 3382177e27
commit c21abdcc81
4 changed files with 37 additions and 8 deletions

View File

@ -4,7 +4,7 @@ on:
push:
branches: [master, development]
pull_request:
branches: [master, development]
branches: [development]
jobs:
ci:

28
.github/workflows/codeql-analysis.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: 'CodeQL'
on:
push:
branches: [master, development]
pull_request:
branches: [development]
jobs:
analyze:
name: 'Analyze'
runs-on: 'ubuntu-latest'
strategy:
fail-fast: false
matrix:
language: ['javascript']
steps:
- uses: 'actions/checkout@v2'
- name: 'Initialize CodeQL'
uses: 'github/codeql-action/init@v1'
with:
languages: ${{ matrix.language }}
- name: 'Perform CodeQL Analysis'
uses: 'github/codeql-action/analyze@v1'

View File

@ -1,4 +1,4 @@
name: 'release'
name: 'Release'
on:
workflow_run:

View File

@ -1,11 +1,12 @@
{
"release": {
"branches": ["master"]
},
"branches": ["master", "development"],
"plugins": [
["@semantic-release/commit-analyzer", {
"preset": "conventionalcommits"
}],
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/github"
]