diff --git a/.github/workflows/RuboCop-Auto-correct.yml b/.github/workflows/RuboCop-Auto-correct.yml index 84c3aa3..b7f68f7 100644 --- a/.github/workflows/RuboCop-Auto-correct.yml +++ b/.github/workflows/RuboCop-Auto-correct.yml @@ -15,7 +15,7 @@ jobs: steps: - uses: actions/checkout@v2 with: - token: ${{ secrets.RUBOCOP_CHECKS }} + token: ${{ secrets.GITHUB_TOKEN }} - name: Set up Ruby uses: ruby/setup-ruby@ee2113536afb7f793eed4ce60e8d3b26db912da4 # v1.127.0 with: @@ -34,7 +34,7 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@v3 with: - token: ${{ secrets.RUBOCOP_CHECKS }} + token: ${{ secrets.GITHUB_TOKEN }} title: "Apply RuboCop auto-correct" branch: "rubocop-autocorrect-${{ github.run_number }}" base: "development"