github: update openring workflow to use a different PR action

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-09-02 17:35:44 +05:30
parent 9cf49afcf5
commit 01e3b60f81
1 changed files with 6 additions and 8 deletions

View File

@ -35,14 +35,12 @@ jobs:
- name: Commit and push changes
run: |
git add layouts/partials/openring.html
git commit --message "layouts: update openring"
- name: Create update PR
uses: thomaseizinger/create-pull-request@1.0.0
if: env.UPDATED == 'true'
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
head: bot/update-openring
commit-message: 'layouts: update openring data'
branch: update-openring
base: src
title: 'openring sync'
body: 'Re-run openring update script'
title: Periodic openring sync
assignees: msfjarvis