-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 1.09 KB
/
deps.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
name: Dependencies
on:
push:
paths:
- Gemfile
- Gemfile.lock
- package.json
- yarn.lock
jobs:
update:
runs-on: ubuntu-latest
timeout-minutes: 10
if: ${{ github.ref != 'refs/heads/main' }}
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
- uses: cachix/install-nix-action@V28
with:
nix_path: nixpkgs=channel:nixos-23.05
- name: Run bundix
run: nix-shell -p bundix --run "bundix"
- uses: stefanzweifel/[email protected]
with:
commit_message: "Update gemset.nix"
commit_user_name: robbevp
commit_user_email: [email protected]
commit_author: robbe[bot] <[email protected]>
- name: Run yarn2nix
run: nix-shell -p yarn2nix --run "yarn2nix > yarn.nix"
- uses: stefanzweifel/[email protected]
with:
commit_message: "Update yarn.nix"
commit_user_name: robbevp
commit_user_email: [email protected]
commit_author: robbe[bot] <[email protected]>