File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 15
15
type : string
16
16
default : ' '
17
17
required : true
18
+ secrets :
19
+ GITHUB_TOKEN :
20
+ required : true
18
21
19
22
jobs :
20
23
release :
21
24
name : Release
22
25
runs-on : ubuntu-latest
26
+ permissions :
27
+ contents : write
28
+ defaults :
29
+ run :
30
+ working-directory : client-python
23
31
steps :
24
32
- name : checkout repo content
25
33
uses : actions/checkout@v4
34
+ with :
35
+ repository : OpenBAS-Platform/client-python
36
+ ref : ${{ inputs.branch_client_python }}
26
37
- name : setup python
27
38
uses : actions/setup-python@v5
28
39
with :
33
44
if [ -f scripts/requirements.txt ]; then pip install -r scripts/requirements.txt; fi
34
45
- name : execute py script # run file
35
46
run : |
36
- python scripts/release.py ${{ github.event. inputs.branch_client_python }} ${{ github.event. inputs.previous_version }} ${{ github.event. inputs.new_version }} ${{ github.token }}
47
+ python scripts/release.py ${{ inputs.branch_client_python }} ${{ inputs.previous_version }} ${{ inputs.new_version }} ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments