Skip to content

Commit fe89bd2

Browse files
committed
chore: Allow auto-pr to include multiple changes
1 parent f17e9e7 commit fe89bd2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/official-pr.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,18 @@ 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 commit -am "Node: ${{ github.event.pull_request.title }}" --author="${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>" || true
45+
4046
- name: Create PR in official-images
4147
id: create-pr
4248
uses: peter-evans/create-pull-request@v3
@@ -45,7 +51,6 @@ jobs:
4551
push-to-fork: nodejs-github-bot/official-images
4652
path: official-images
4753
branch: node
48-
commit-message: "Node: ${{ github.event.pull_request.title }}"
4954
title: "Node: ${{ github.event.pull_request.title }}"
5055
body: |
5156
Pull Request: ${{ github.event.pull_request.html_url }}

0 commit comments

Comments
 (0)