From b3d5e331bb8ea28bff1cdbb73eb13b6731f4163b Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Thu, 9 Sep 2021 20:17:19 +0100 Subject: [PATCH] :green_heart: Specify base branch as master --- .github/workflows/code-spell-check.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/code-spell-check.yml b/.github/workflows/code-spell-check.yml index 6ed63668..e0ec4c18 100644 --- a/.github/workflows/code-spell-check.yml +++ b/.github/workflows/code-spell-check.yml @@ -1,7 +1,11 @@ # Finds typos in the English language within the app, submits a PR with fixes name: Auto-Fix Spelling on: - - push + push: + branches: [ master ] + pull_request: + types: [opened] + workflow_dispatch: jobs: build: runs-on: ubuntu-latest @@ -17,6 +21,7 @@ jobs: if: startsWith(github.head_ref, 'AUTO/') == false with: token: ${{ secrets.BOT_GITHUB_TOKEN }} + base: master commit-message: ':pencil2: Auto-fix typos in text' title: '[AUTO] Fix spelling and language' branch: 'AUTO/spelling-corrections'