Skip to content

Commit f011f69

Browse files
Fix: Workflow triggers and call (#2)
* update: update apax image to 4.2.0 * Update workflow to change directory to 'AX' * Removed branch trigger from package development workflow --------- Co-authored-by: Cyrano <cyrano-celio.fischer@siemens.com>
1 parent 2db82f4 commit f011f69

3 files changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/application-example-release-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
needs: call-development
3232
runs-on: ubuntu-24.04
3333
container:
34-
image: ghcr.io/simatic-ax/ci-images/apax-ci-image:4.0.0
34+
image: ghcr.io/simatic-ax/ci-images/apax-ci-image:4.2.0
3535
credentials:
3636
username: ${{ github.actor }}
3737
password: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/package-development-workflow.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
name: Package development workflow
55

66
on:
7-
push:
8-
branches:
9-
- 'main' # runs the workflow, once new changes have been integrated to main
10-
pull_request:
117
workflow_call:
128
secrets:
139
APAX_TOKEN:
@@ -22,7 +18,7 @@ on:
2218
path:
2319
required: false
2420
type: string
25-
default: "AX"
21+
default: "."
2622

2723
permissions:
2824
contents: read # required for checkout
@@ -34,7 +30,7 @@ jobs:
3430
name: Build and Test
3531
runs-on: ubuntu-24.04
3632
container:
37-
image: ghcr.io/simatic-ax/ci-images/apax-ci-image:4.0.0
33+
image: ghcr.io/simatic-ax/ci-images/apax-ci-image:4.2.0
3834
credentials:
3935
username: ${{ github.actor }}
4036
password: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/project-workflows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
- 'main' # Only run when pushing to the main branch
1111
paths:
1212
- 'AX/**' # Only run when files in the AX directory are modified
13+
pull_request:
1314

1415
jobs:
1516
call-ax-workflow:

0 commit comments

Comments
 (0)