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:
parent
3382177e27
commit
c21abdcc81
2
.github/workflows/Divlo.yml
vendored
2
.github/workflows/Divlo.yml
vendored
@ -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
28
.github/workflows/codeql-analysis.yml
vendored
Normal 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'
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: 'release'
|
||||
name: 'Release'
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
|
@ -1,11 +1,12 @@
|
||||
{
|
||||
"release": {
|
||||
"branches": ["master"]
|
||||
},
|
||||
"branches": ["master", "development"],
|
||||
"plugins": [
|
||||
["@semantic-release/commit-analyzer", {
|
||||
[
|
||||
"@semantic-release/commit-analyzer",
|
||||
{
|
||||
"preset": "conventionalcommits"
|
||||
}],
|
||||
}
|
||||
],
|
||||
"@semantic-release/release-notes-generator",
|
||||
"@semantic-release/github"
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user