chore: enable github actions for next branch (#298)
This commit is contained in:
parent
1eb4ee1c8e
commit
fc1a80d274
2 changed files with 4 additions and 3 deletions
4
.github/workflows/codeql-analysis.yml
vendored
4
.github/workflows/codeql-analysis.yml
vendored
|
@ -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'
|
||||
|
||||
|
|
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue