Skip to content

[ci] update gemfile.lock (#239) #31

[ci] update gemfile.lock (#239)

[ci] update gemfile.lock (#239) #31

name: update gemfile.lock file
permissions:
pull-requests: write
contents: write
on:
push:
branches:
- main
paths-ignore:
- '.github/**'
- '**.md'
schedule:
- cron: '3 7 */33 * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
with:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
- name: Set up Ruby
uses: ruby/setup-ruby@master
with:
ruby-version: debug
- 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
id: pr
with:
author: wafbot <wafbot@aatf.us>
committer: wafbot <wafbot@aatf.us>
commit-message: "[ci] update gemfile.lock"
title: "[ci] update gemfile.lock"
delete-branch: true
- name: enable auto merge
if: steps.pr.outputs.pull-request-number
env:
GH_TOKEN: ${{ github.token }}
run: |
gh pr merge ${{ steps.pr.outputs.pull-request-number }} --auto --squash