chore: enable github actions for next branch (#298)

This commit is contained in:
Tim Möhlmann 2023-03-02 15:24:13 +02:00 committed by GitHub
parent 1eb4ee1c8e
commit fc1a80d274
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -2,10 +2,10 @@ name: "Code scanning - action"
on: on:
push: push:
branches: [main, ] branches: [main,next]
pull_request: pull_request:
# The branches below must be a subset of the branches above # The branches below must be a subset of the branches above
branches: [main] branches: [main,next]
schedule: schedule:
- cron: '0 11 * * 0' - cron: '0 11 * * 0'

View file

@ -3,6 +3,7 @@ on:
push: push:
branches: branches:
- main - main
- next
tags-ignore: tags-ignore:
- '**' - '**'
pull_request: pull_request:
@ -31,7 +32,7 @@ jobs:
release: release:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
needs: [test] 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: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps: steps: