File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 push :
66 branches : [main]
77
8+ permissions : {}
9+
810jobs :
911 changes :
1012 runs-on : ubuntu-latest
1113 outputs :
1214 project_files : ${{ steps.filter.outputs.project_files }}
1315 steps :
1416 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17+ with :
18+ persist-credentials : false
1519 - uses : dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
1620 id : filter
1721 with :
2428 - '**/*requirements*.txt'
2529 - '**/setup.cfg'
2630 - setup.py
31+ zizmor :
32+ runs-on : ubuntu-latest
33+ permissions :
34+ security-events : write
35+ steps :
36+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
37+ with :
38+ persist-credentials : false
39+ - uses : zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3
2740 main-real :
2841 needs : [changes]
2942 if : needs.changes.outputs.project_files == 'true'
@@ -35,11 +48,14 @@ jobs:
3548 if : always()
3649 runs-on : ubuntu-latest
3750 steps :
38- - run : |
39- if [ "${{ needs.changes.outputs.project_files }}" != "true" ]; then
51+ - env :
52+ PROJECT_FILES : ${{ needs.changes.outputs.project_files }}
53+ MAIN_REAL_RESULT : ${{ needs.main-real.result }}
54+ run : |
55+ if [ "$PROJECT_FILES" != "true" ]; then
4056 exit 0
4157 fi
42- if [ "${{ needs.main-real.result }} " != "success" ]; then
58+ if [ "$MAIN_REAL_RESULT " != "success" ]; then
4359 exit 1
4460 fi
4561 main-win-real :
@@ -54,10 +70,13 @@ jobs:
5470 if : always()
5571 runs-on : ubuntu-latest
5672 steps :
57- - run : |
58- if [ "${{ needs.changes.outputs.project_files }}" != "true" ]; then
73+ - env :
74+ PROJECT_FILES : ${{ needs.changes.outputs.project_files }}
75+ MAIN_WIN_REAL_RESULT : ${{ needs.main-win-real.result }}
76+ run : |
77+ if [ "$PROJECT_FILES" != "true" ]; then
5978 exit 0
6079 fi
61- if [ "${{ needs.main-win-real.result }} " != "success" ]; then
80+ if [ "$MAIN_WIN_REAL_RESULT " != "success" ]; then
6281 exit 1
6382 fi
You can’t perform that action at this time.
0 commit comments