Update settings_controller.rb #158
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: update gemfile.lock file | |
on: | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: '3 7 */33 * *' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token | |
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.1 | |
- name: Build new gemfile lock with Rake | |
run: | | |
rm --force Gemfile.lock | |
gem install bundler | |
bundle install --jobs 9 --retry 3 | |
- uses: peter-evans/create-pull-request@main | |
with: | |
author: wafbot-dance_scorer <wafbot+dance_scorer@users.noreply.github.com> | |
committer: wafbot-dance_scorer <wafbot+dance_scorer@users.noreply.github.com> | |
commit-message: "[ci] update gemfile.lock" | |
title: "[ci] update gemfile.lock" | |
delete-branch: true |