From 722ffa3f1922e118bc54a7ac2d9862d4f0f3a6cd Mon Sep 17 00:00:00 2001 From: Tyler Wilding Date: Thu, 9 Feb 2023 18:42:09 -0500 Subject: [PATCH] ci: switch to a pull request instead of a direct commit for updating controller db (#2201) The direct commit option doesn't work as there is no way to bypass required status checks -- this makes the merge queue less useful. Switch to a PR instead. --- .github/workflows/update-controller-db.yaml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/update-controller-db.yaml b/.github/workflows/update-controller-db.yaml index 823dfe2e55..699d7c1c7c 100644 --- a/.github/workflows/update-controller-db.yaml +++ b/.github/workflows/update-controller-db.yaml @@ -18,10 +18,13 @@ jobs: run: | wget -O ./game/assets/sdl_controller_db.txt https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt - - name: commit version bump - uses: EndBug/add-and-commit@v9 + - name: Create Pull Request + uses: peter-evans/create-pull-request@v4 with: - default_author: github_actor - author_name: 'OpenGOALBot' - author_email: 'OpenGOALBot@users.noreply.github.com' - message: "Updating Controller Database" + author: 'OpenGOALBot ' + committer: 'OpenGOALBot ' + branch: 'bot/update-controller-db' + base: "master" + body: "Updating Controller Database" + commit-message: "ci: updated controller database" + title: "CI: Periodic Controller Database Update"