-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (30 loc) · 981 Bytes
/
bundler-update.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
name: Bundler Update
"on":
schedule:
# Once a month on the 22nd
- cron: "0 0 22 * *"
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
bundler-update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v16
- uses: DeterminateSystems/magic-nix-cache-action@v8
- name: Update Gem lock file
run: nix develop --command bundle update
- name: Update the hashes in the gemset.nix file
run: nix develop --command bundix
- name: Format the gemset.nix file
run: nix fmt
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
assignees: ${{ github.repository_owner }}
branch: "update/bundler"
commit-message: "chore(deps): Update Gem lock file"
title: "chore(deps): Update Gem lock file"
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}