Skip to content

Commit

Permalink
chore: switch update-sponsors to create a PR, not a commit (#4654)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Mar 9, 2022
1 parent cf325ce commit 82a8c4e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/update-sponsors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ jobs:
- uses: Codecademy/run-on-yarn@v1
with:
command: generate-sponsors
- uses: EndBug/add-and-commit@v8
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
message: 'chore: update sponsors data'
# The standard GITHUB_TOKEN cannot be used as it will not trigger status checks on
# the PR that gets created (this behavior is not specific to this action).
# https://github.com/peter-evans/create-pull-request/blob/master/docs/concepts-guidelines.md#triggering-further-workflow-runs
token: ${{ secrets.JAMES_HENRY_GH_TOKEN }}
commit-message: "chore: update sponsors"
title: "chore: update sponsors"
body: "💸"
branch: auto-update-sponsors

0 comments on commit 82a8c4e

Please sign in to comment.