From dcdd3c8f7040269dfa62024da5af8ae8121750ed Mon Sep 17 00:00:00 2001 From: Gregory Gauthier Date: Wed, 4 Feb 2026 14:35:22 +0000 Subject: [PATCH] update workflow to only run when a submit is necessary --- .DS_Store | Bin 6148 -> 0 bytes .gitea/workflows/mvs_job.yaml | 9 +++++++-- .gitignore | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) delete mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index e8c54e567238bfbaea0fd3a071f44cf63e32553a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHKF=_)r43uIQhBPiy?ic)n#W*kU2SU!IFb0E7`m6G;JS{Vl2sXzRDbkn`NVBKa z>~d3_PG;uY&%?%SZDuPt(Y_d_#(nz4o+?9ho^c)C&*u}CwwM&pB*nmIseDIf);fE17dQs7Stuu;QS&xwjsKnh5KUj_JmXmDaL924Wyfe<4AaEWvn z)-g)}8xz1@I3^+k^P~ck>NR3`(vfdf*9*tQq?^ahIHzv*novA$N4`b5c~4Z70#e{! zff~}+?EkOunfd>oq$epL1s+NPU+(t1Enca5>*VFwYa9Fx&YEvH4eOvFL^}pXJH`Xs e@k=2y>LtnI`TmW>Sutu$fUr3EARteB^NgU diff --git a/.gitea/workflows/mvs_job.yaml b/.gitea/workflows/mvs_job.yaml index 9701a46..1038cdf 100644 --- a/.gitea/workflows/mvs_job.yaml +++ b/.gitea/workflows/mvs_job.yaml @@ -3,9 +3,14 @@ name: MVS Upload & Execute on: push: branches: [ master ] + paths: + - 'src/**' # Trigger only if src/ (C sources) changes + - 'jcl/**' # Trigger only if jcl/ (JCL for batch jobs) changes pull_request: branches: [ master ] - + paths: + - 'src/**' # Same for pull requests + - 'jcl/**' jobs: upload-and-run: steps: @@ -66,7 +71,7 @@ jobs: echo "=== Debug: File detection complete ===" - name: Upload to PDS and Submit JCL - if: steps.files.outputs.file != '' + if: ${{ steps.files.outputs.file != '' }} run: | echo "=== Debug: Starting upload/submit ===" echo "File: ${{ steps.files.outputs.file }}" diff --git a/.gitignore b/.gitignore index 318c730..b699a14 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .git/ .idea/ +.DS_Store zapp.yaml \ No newline at end of file