From 01e3b60f818262a64441b7c4f376e3a0e73ae0b2 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Wed, 2 Sep 2020 17:35:44 +0530 Subject: [PATCH] github: update openring workflow to use a different PR action Signed-off-by: Harsh Shandilya --- .github/workflows/update_openring.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/update_openring.yml b/.github/workflows/update_openring.yml index 9da8a26..e63e212 100644 --- a/.github/workflows/update_openring.yml +++ b/.github/workflows/update_openring.yml @@ -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