File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -31,12 +31,19 @@ jobs:
3131 with :
3232 path : official-images
3333 repository : docker-library/official-images
34+ ref : ' node'
3435
3536 - name : Generate Stackbrew for diff
3637 run : |
3738 cd docker-node
3839 ./generate-stackbrew-library.sh > ../official-images/library/node
3940
41+ - name : Commit changes
42+ run : |
43+ cd official-images
44+ git add -A
45+ git diff-index --quiet HEAD || git commit -m "Node: ${{ github.event.pull_request.title }}" --author="${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>"
46+
4047 - name : Create PR in official-images
4148 id : create-pr
4249 uses : peter-evans/create-pull-request@v3
4552 push-to-fork : nodejs-github-bot/official-images
4653 path : official-images
4754 branch : node
48- commit-message : " Node: ${{ github.event.pull_request.title }}"
4955 title : " Node: ${{ github.event.pull_request.title }}"
5056 body : |
5157 Pull Request: ${{ github.event.pull_request.html_url }}
You can’t perform that action at this time.
0 commit comments