-
-
Notifications
You must be signed in to change notification settings - Fork 94
40 lines (33 loc) · 930 Bytes
/
update.yaml
File metadata and controls
40 lines (33 loc) · 930 Bytes
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
name: "Update NH"
on:
workflow_dispatch:
schedule:
- cron: "0 4 1 * *"
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: cachix/install-nix-action@master
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
name: Checkout
- name: Update
run: |
nix flake update
eval "${nix print-dev-env}"
cargo update
./fix.sh
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
token: '${{ secrets.PAT }}'
title: 'build: bump deps'
committer: GitHub <noreply@github.com>
author: GitHub <noreply@github.com>
commit-message: |
chore: update dependencies
Co-authored-by: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
branch: update
# branch-suffix: timestamp
delete-branch: true