Update RuboCop-Auto-correct.yml

Signed-off-by: VetheonGames <76892542+VetheonGames@users.noreply.github.com>
This commit is contained in:
VetheonGames 2023-07-27 19:11:58 -06:00 committed by GitHub
parent 58e984aee6
commit 4031f1eb7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@ name: RuboCop Auto-correct
on: on:
push: push:
branches: [ "main" ] branches: [ "development" ]
jobs: jobs:
autocorrect: autocorrect:
@ -34,8 +34,9 @@ jobs:
- name: Create Pull Request - name: Create Pull Request
uses: peter-evans/create-pull-request@v3 uses: peter-evans/create-pull-request@v3
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.RUBOCOP_CHECKS }}
title: "Apply RuboCop auto-correct" title: "Apply RuboCop auto-correct"
branch: "rubocop-autocorrect-${{ github.run_number }}" branch: "rubocop-autocorrect-${{ github.run_number }}"
base: "development"
delete-branch: true delete-branch: true
body: "This PR applies RuboCop auto-corrections to the codebase." body: "This PR applies RuboCop auto-corrections to the codebase."