forked from IntersectMBO/plutus
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (29 loc) · 1.21 KB
/
niv-update.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
name: Automated niv-managed dependency updates
on:
schedule:
# * is a special character in YAML so you have to quote this string
# run this every day at 4:00am
- cron: '0 4 * * *'
jobs:
niv-updater:
name: 'Create PRs for niv-managed dependencies'
runs-on: ubuntu-latest
steps:
# notice there is no checkout step
- name: niv-updater-action
uses: knl/niv-updater-action@v9
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# https://github.com/knl/niv-updater-action/issues/45
niv_version: 'af958e8057f345ee1aca714c1247ef3ba1c15f5e'
# nixpkgs,haskell.nix: most updates are a mass rebuild, so merging
# an update will force devs to re-download GHC etc. And even if
# we don't want to merge it, creating the PR will clog up Hydra.
#
# hackage.nix/stackage.nix: updates *daily*, just gives a new index,
# not worth doing unless you need it.
#
# iohk-nix: updates somewhat frequently due to random IOHK ops stuff,
# and is almost totally irrelevant to us at the moment.
blacklist: 'nixpkgs,hackage.nix,stackage.nix,haskell.nix,iohk-nix'