File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 1515 type : string
1616 default : ' '
1717 required : true
18+ secrets :
19+ GITHUB_TOKEN :
20+ required : true
1821
1922jobs :
2023 release :
2124 name : Release
2225 runs-on : ubuntu-latest
26+ permissions :
27+ contents : write
28+ defaults :
29+ run :
30+ working-directory : client-python
2331 steps :
2432 - name : checkout repo content
2533 uses : actions/checkout@v4
34+ with :
35+ repository : OpenBAS-Platform/client-python
36+ ref : ${{ inputs.branch_client_python }}
2637 - name : setup python
2738 uses : actions/setup-python@v5
2839 with :
3344 if [ -f scripts/requirements.txt ]; then pip install -r scripts/requirements.txt; fi
3445 - name : execute py script # run file
3546 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