github actions: allow runs on development branches

This commit is contained in:
Leonid Pliushch 2023-10-08 20:36:08 +03:00
parent ab3ffd7a9b
commit 0bff714afc
No known key found for this signature in database
GPG Key ID: 802AB1B71153CBC4
1 changed files with 4 additions and 2 deletions

View File

@ -4,6 +4,8 @@ on:
push:
branches:
- master
- dev
- 'dev/**'
paths:
- 'packages/**'
- 'root-packages/**'
@ -18,7 +20,7 @@ on:
packages:
description: "A space-separated names of packages selected for rebuilding"
required: true
permissions: {} # none
jobs:
@ -227,7 +229,7 @@ jobs:
concurrency: ${{ github.workflow }}
permissions:
contents: read
if: github.event_name != 'pull_request'
if: github.event_name != 'pull_request' && github.ref != 'refs/heads/dev' && !startsWith(github.ref, 'refs/heads/dev/')
needs: build
runs-on: ubuntu-latest
steps: