File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 10
10
workflow_dispatch :
11
11
schedule :
12
12
- cron : ' 17 10 * * 2'
13
+ workflow_call :
14
+ inputs :
15
+ ref :
16
+ required : true
17
+ type : string
13
18
14
19
jobs :
15
20
analyze-python :
27
32
uses : actions/checkout@v4
28
33
with :
29
34
fetch-depth : 0
35
+ ref : ${{ inputs.ref }}
30
36
persist-credentials : false
31
37
32
38
# Initializes the CodeQL tools for scanning.
Original file line number Diff line number Diff line change @@ -61,14 +61,20 @@ jobs:
61
61
with :
62
62
ref : ${{ needs.pre-publish.outputs.version }}
63
63
64
- static-scan :
64
+ static-python :
65
65
needs : [pre-publish]
66
66
uses : ./.github/workflows/codeql-python.yml
67
67
with :
68
68
ref : ${{ needs.pre-publish.outputs.version }}
69
69
70
+ static-actions :
71
+ needs : [pre-publish]
72
+ uses : ./.github/workflows/codeql-actions.yml
73
+ with :
74
+ ref : ${{ needs.pre-publish.outputs.version }}
75
+
70
76
publish :
71
- needs : [build-dist, static-scan ]
77
+ needs : [build-dist, static-python, static-actions ]
72
78
name : Upload release to PyPI
73
79
runs-on : ubuntu-latest
74
80
environment : release-python
You can’t perform that action at this time.
0 commit comments