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:
32
32
path : official-images
33
33
repository : docker-library/official-images
34
34
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
+
35
42
- name : Generate Stackbrew for diff
36
43
run : |
37
44
cd docker-node
38
45
./generate-stackbrew-library.sh > ../official-images/library/node
39
46
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
+
40
53
- name : Create PR in official-images
41
54
id : create-pr
42
55
uses : peter-evans/create-pull-request@v3
45
58
push-to-fork : nodejs-github-bot/official-images
46
59
path : official-images
47
60
branch : node
48
- commit-message : " Node: ${{ github.event.pull_request.title }}"
49
61
title : " Node: ${{ github.event.pull_request.title }}"
50
62
body : |
51
63
Pull Request: ${{ github.event.pull_request.html_url }}
You can’t perform that action at this time.
0 commit comments