forked from marclevetin/dance-event-registration-scoring
-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (33 loc) · 1023 Bytes
/
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
38
39
name: update gemfile.lock file
permissions: write-all
on:
push:
branches:
- main
schedule:
- cron: '3 7 */33 * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
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@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
with:
author: wafbot <wafbot+dance_scorer@fawong.com>
committer: wafbot <wafbot+dance_scorer@fawong.com>
commit-message: "[ci] update gemfile.lock"
title: "[ci] update gemfile.lock"
delete-branch: true