.github/workflows/autocorrect.yml in legitbot-1.10.0 vs .github/workflows/autocorrect.yml in legitbot-1.10.1
- old
+ new
@@ -2,10 +2,12 @@
on:
schedule:
- cron: '29 6 * * 6'
+ workflow_dispatch:
+
jobs:
lint:
runs-on: ubuntu-latest
strategy:
@@ -30,10 +32,11 @@
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Run tests
run: bundle exec rake test
- name: Run linter
- run: bundle exec rubocop --auto-correct
+ run: bundle exec rubocop -A
+ continue-on-error: true
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
branch: update/lint-autocorrect
delete-branch: true