Update RuboCop-Auto-correct.yml
Signed-off-by: VetheonGames <76892542+VetheonGames@users.noreply.github.com>
This commit is contained in:
parent
58e984aee6
commit
4031f1eb7a
5
.github/workflows/RuboCop-Auto-correct.yml
vendored
5
.github/workflows/RuboCop-Auto-correct.yml
vendored
|
@ -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."
|
||||||
|
|
Loading…
Reference in New Issue
Block a user