File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,14 +3,14 @@ name: Create a new release
33on :
44 workflow_dispatch :
55 push :
6- branches :
7- - main
6+ branches : [ main ]
87
98jobs :
109 release :
1110 runs-on : ubuntu-latest
1211 permissions :
1312 contents : write
13+ packages : write
1414
1515 if : " github.event_name == 'push' && github.ref == 'refs/heads/main' && !startsWith(github.event.head_commit.message, 'chore')"
1616
@@ -21,16 +21,20 @@ jobs:
2121 fetch-depth : 0
2222 token : ${{ secrets.ADMIN_TOKEN }}
2323 persist-credentials : true
24+ ssh-key : " "
25+ ssh-strict : false
2426
25- - name : Setup Git
27+ - name : Force Git HTTPS auth
2628 run : |
29+ git config --global url."https://${{ secrets.ADMIN_TOKEN }}@github.com/".insteadOf "https://github.com/"
2730 git config --global user.name "secrets.automation.dev"
2831 git config --global user.email "secrets.automation.dev@il.ibm.com"
2932
3033 - name : Setup Node.js
3134 uses : actions/setup-node@v6
3235 with :
3336 node-version : ' 22'
37+ registry-url : ' https://registry.npmjs.org'
3438
3539 - name : Install dependencies
3640 run : npm ci
You can’t perform that action at this time.
0 commit comments