From 8b9df3af4207eeefd92331b3130c4057ce0d117f Mon Sep 17 00:00:00 2001 From: VetheonGames <76892542+VetheonGames@users.noreply.github.com> Date: Thu, 27 Jul 2023 19:12:33 -0600 Subject: [PATCH] Update RuboCop-Auto-correct.yml Signed-off-by: VetheonGames <76892542+VetheonGames@users.noreply.github.com> --- .github/workflows/RuboCop-Auto-correct.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/RuboCop-Auto-correct.yml b/.github/workflows/RuboCop-Auto-correct.yml index dd10ca1..84c3aa3 100644 --- a/.github/workflows/RuboCop-Auto-correct.yml +++ b/.github/workflows/RuboCop-Auto-correct.yml @@ -2,7 +2,7 @@ name: RuboCop Auto-correct on: push: - branches: [ "main" ] + branches: [ "development" ] jobs: autocorrect: @@ -34,8 +34,9 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@v3 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.RUBOCOP_CHECKS }} title: "Apply RuboCop auto-correct" branch: "rubocop-autocorrect-${{ github.run_number }}" + base: "development" delete-branch: true body: "This PR applies RuboCop auto-corrections to the codebase."