File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,24 @@ jobs:
3232 path : official-images
3333 repository : docker-library/official-images
3434
35+ - name : Track official images fork
36+ run : |
37+ cd official-images
38+ git remote add fork https://github.com/nodejs-github-bot/official-images
39+ git fetch fork
40+ git checkout -b node --track fork/node
41+
3542 - name : Generate Stackbrew for diff
3643 run : |
3744 cd docker-node
3845 ./generate-stackbrew-library.sh > ../official-images/library/node
3946
47+ - name : Commit Stackbrew changes
48+ run : |
49+ cd official-images
50+ git add -A
51+ git diff-index --quiet HEAD || git commit -m "Node: ${{ github.event.pull_request.title }}" --author="${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>"
52+
4053 - name : Create PR in official-images
4154 id : create-pr
4255 uses : peter-evans/create-pull-request@v3
4558 push-to-fork : nodejs-github-bot/official-images
4659 path : official-images
4760 branch : node
48- commit-message : " Node: ${{ github.event.pull_request.title }}"
4961 title : " Node: ${{ github.event.pull_request.title }}"
5062 body : |
5163 Pull Request: ${{ github.event.pull_request.html_url }}
You can’t perform that action at this time.
0 commit comments