Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
Push the branch by Hub.
Browse files Browse the repository at this point in the history
Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
  • Loading branch information
monaka committed Apr 10, 2020
1 parent c64cd9f commit 5cad6cf
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/update-to-the-upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,14 @@ jobs:
git fetch --all
git checkout -b prp-update-to-the-upstream
git merge up/master -m 'Update to the upstream.'
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: prp-update-to-the-upstream
force: true
- name: install hub
uses: geertvdc/setup-hub@v1.0.0
- name: create PR
env:
GITHUB_USER: ${{ secrets.GITHUB_USER }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
hub pull-request -b pizzafactory:pizzafactory -m "[Scheduled] Update to the upstream"
hub pull-request -b pizzafactory:pizzafactory -m "[Scheduled] Update to the upstream" --push
- name: Notify to Google Chat
uses: Co-qn/google-chat-notification@releases/v1
with:
Expand Down

0 comments on commit 5cad6cf

Please sign in to comment.