Merge pull request #3304 from KPrasch/v7.0.0

Use `v*.*.*` branches to trigger github actions instead of `development`
pull/3306/head
KPrasch 2023-10-23 20:36:44 +02:00 committed by GitHub
commit d007f323ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 8 deletions

View File

@ -4,7 +4,7 @@ on:
pull_request:
branches:
- main
- development
- v*.*.*
- epic-*
jobs:

View File

@ -4,7 +4,7 @@ on:
push:
tags: [ 'v*.*.*' ]
branches:
- development
- 'v*.*.*'
jobs:
docker:
@ -24,7 +24,7 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Update Development Package Metadata
if: ${{ github.ref_name == 'development' }}
if: ${{ github.ref_type == 'branch' }}
run: |
pip install bumpversion
export VERSION=$(bumpversion major --dry-run --list --allow-dirty | grep current_version= | sed 's/current_version=//g')
@ -32,7 +32,7 @@ jobs:
bumpversion devnum --new-version $VERSION-dev.${{github.sha}} --no-tag --no-commit
- name: Build and push Docker image (development)
if: ${{ github.ref_name == 'development' }}
if: ${{ github.ref_type == 'branch' }}
uses: docker/build-push-action@v5
with:
context: ${{ github.workspace }}

View File

@ -6,7 +6,7 @@ on:
pull_request:
branches:
- main
- development
- v*.*.*
- epic-*
workflow_dispatch:

View File

@ -4,7 +4,7 @@ on:
pull_request:
branches:
- main
- development
- v*.*.*
- epic-*
tags-ignore:
- '*.*' # ignore releases

View File

@ -4,7 +4,7 @@ on:
pull_request:
branches:
- main
- development
- v*.*.*
- epic-*
concurrency:

View File

@ -4,7 +4,7 @@ on:
pull_request:
branches:
- main
- development
- v*.*.*
- epic-*
jobs:

View File