forked from marclevetin/dance-event-registration-scoring
-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (32 loc) · 1.03 KB
/
update_gemfilelock.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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@latest
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@latest
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
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