Skip to content

Commit

Permalink
Create pull request when new holidays are fetched
Browse files Browse the repository at this point in the history
  • Loading branch information
norberttech committed Aug 9, 2020
1 parent 48698ad commit 923cbe2
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/fetch-holidays.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,16 @@ jobs:
- name: "Git status"
run: "git status"

# - name: "Create commits"
# run: |
# git config user.name 'Norbert Orzechowicz'
# git config user.email 'contact@norbert.tech'
# git add .
# git commit -am "Update google calendar regional holidays data"
#
# - name: "Create Pull Request"
# uses: peter-evans/create-pull-request@v3
- name: "Create Pull Request"
uses: peter-evans/create-pull-request@v3
with:
commit-message: "Updated Google Calendar regional holidays"
committer: "GitHub <noreply@github.com>"
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: false
branch: update/google-calendar-holiday
title: 'Updated Google Calendar regional holidays'

- name: "Check output"
run: |
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"

0 comments on commit 923cbe2

Please sign in to comment.