diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 85ea2ca..d2bae79 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -2,10 +2,10 @@ name: "Code scanning - action" on: push: - branches: [main, ] + branches: [main,next] pull_request: # The branches below must be a subset of the branches above - branches: [main] + branches: [main,next] schedule: - cron: '0 11 * * 0' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d97d41a..9509826 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,7 @@ on: push: branches: - main + - next tags-ignore: - '**' pull_request: @@ -31,7 +32,7 @@ jobs: release: runs-on: ubuntu-20.04 needs: [test] - if: ${{ github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/main' }} + if: ${{ github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/next' }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: