Skip to content

Commit

Permalink
chore: Allow auto-pr to include multiple changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni committed Oct 9, 2020
1 parent f17e9e7 commit fe89bd2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/official-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,18 @@ jobs:
with:
path: official-images
repository: docker-library/official-images
ref: 'node'

- name: Generate Stackbrew for diff
run: |
cd docker-node
./generate-stackbrew-library.sh > ../official-images/library/node
- name: Commit changes
run: |
cd official-images
git commit -am "Node: ${{ github.event.pull_request.title }}" --author="${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>" || true
- name: Create PR in official-images
id: create-pr
uses: peter-evans/create-pull-request@v3
Expand All @@ -45,7 +51,6 @@ jobs:
push-to-fork: nodejs-github-bot/official-images
path: official-images
branch: node
commit-message: "Node: ${{ github.event.pull_request.title }}"
title: "Node: ${{ github.event.pull_request.title }}"
body: |
Pull Request: ${{ github.event.pull_request.html_url }}
Expand Down

0 comments on commit fe89bd2

Please sign in to comment.