-
Notifications
You must be signed in to change notification settings - Fork 2
47 lines (42 loc) · 1.8 KB
/
bundler_deps.yaml
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
40
41
42
43
44
45
46
47
---
name: Upgrade Bundler Dependencies
on:
schedule:
- cron: '0 21 * * *' # everyday, 21:00 (UTC)
workflow_dispatch:
jobs:
upgrade_bundler_deps:
runs-on: macos-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
- run: bundle update --bundler && bundle update
working-directory: macos
# See: https://github.com/peter-evans/create-pull-request/tree/master#reference-example
- name: create PR
id: create_pull_request
uses: peter-evans/create-pull-request@v7
with:
# See: https://github.com/peter-evans/create-pull-request/blob/master/docs/concepts-guidelines.md#triggering-further-workflow-runs
# See: https://github.com/peter-evans/create-pull-request/issues/48#issuecomment-537478081
token: ${{ secrets.PAT }}
# See: https://github.com/peter-evans/create-pull-request/issues/593
committer: GitHub <[email protected]>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
commit-message: 'upgrade bundler deps'
title: 'upgrade bundler deps'
body: |
Auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request)
---
See: https://github.com/peter-evans/create-pull-request/blob/master/docs/concepts-guidelines.md#triggering-further-workflow-runs
branch: upgrade_bundler_deps
delete-branch: true
labels: |
dependencies
mac
- name: enable auto-merge
if: ${{ steps.create_pull_request.outputs.pull-request-number != '' }}
run: gh pr merge ${{ steps.create_pull_request.outputs.pull-request-number }} --squash --auto
env:
GH_TOKEN: ${{ secrets.PAT }}