File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,14 @@ name: Create release pull request
22
33on :
44 workflow_dispatch :
5+ inputs :
56 version :
67 type : string
78 description : New version, in the form v0.4.x
89 required : true
9-
10+
11+ permissions :
12+ contents : write
1013
1114
1215jobs :
@@ -17,14 +20,21 @@ jobs:
1720 version : ${{github.event.inputs.version}}
1821 steps :
1922 - uses : actions/checkout@v5
20- - name : Checkout $target_branch
21- run : git checkout -b $target_branch
23+ - name : Set up Node.js
24+ uses : actions/setup-node@v4
25+ with :
26+ node-version : 20
27+ - name : Install devcontainers CLI
28+ run : npm i -g @devcontainers/cli
2229 - name : Update manifest files
2330 run : ./build/prepare-release.sh
2431 - name : Push manifest updates
2532 env :
2633 GITHUB_TOKEN : ${{ secrets.PAT }}
2734 run : |
35+ git config --global user.email github-actions@github.com
36+ git config --global user.name github-actions
37+ git checkout -b $target_branch
2838 git add -A
2939 git commit -m "Release manifest update"
3040 git push origin $target_branch
You can’t perform that action at this time.
0 commit comments