Skip to content

Commit 08ceceb

Browse files
author
Dennis Grzyb
committed
Adjust CI yml to work on pushes (but then not creating a new package)
1 parent 863a2db commit 08ceceb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/deployment.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Code Coverage and Release
22

33
on:
44
workflow_dispatch:
5+
push:
56
pull_request:
67
branches:
78
- master
@@ -41,7 +42,7 @@ jobs:
4142
- name: Create new Package version and Promote
4243
# Currently only to be run when creating a PR toward master, in any other case we don't want to go that route.
4344
# Can be adjusted in the future to only promote packages when merging, but create packages in a PR
44-
if: github.base_ref == 'master' && github.actor == github.event.repository.owner.login
45+
if: github.ref != 'refs/head/master' && github.actor == github.event.repository.owner.login
4546
run: |
4647
chmod +x scripts/packagepromotion.sh
4748
./scripts/packagepromotion.sh

0 commit comments

Comments
 (0)