Skip to content

[ci] update gemfile.lock (#116) #152

[ci] update gemfile.lock (#116)

[ci] update gemfile.lock (#116) #152

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