diff --git a/.github/workflows/Divlo.yml b/.github/workflows/Divlo.yml index fcc8156..dd786d0 100644 --- a/.github/workflows/Divlo.yml +++ b/.github/workflows/Divlo.yml @@ -4,7 +4,7 @@ on: push: branches: [master, development] pull_request: - branches: [master, development] + branches: [development] jobs: ci: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml new file mode 100644 index 0000000..bc8199f --- /dev/null +++ b/.github/workflows/codeql-analysis.yml @@ -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' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 27adb3d..b13a1fc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: 'release' +name: 'Release' on: workflow_run: diff --git a/.releaserc.json b/.releaserc.json index 11150a3..7fb8ac8 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -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" ]