fix(workflows): Another one?
Some checks failed
npins update / npins_update (push) Failing after 33s
Some checks failed
npins update / npins_update (push) Failing after 33s
This commit is contained in:
parent
450cac2fe8
commit
6f137c1dd5
|
@ -2,7 +2,7 @@ name: npins update
|
|||
on:
|
||||
schedule:
|
||||
# Run at 11 o'clock every day
|
||||
- cron: "0 12 * * *"
|
||||
- cron: "37 12 * * *"
|
||||
|
||||
jobs:
|
||||
npins_update:
|
||||
|
@ -12,6 +12,8 @@ jobs:
|
|||
run: apt-get update && apt-get install sudo
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
path: src
|
||||
|
||||
- uses: https://github.com/cachix/install-nix-action@v22
|
||||
with:
|
||||
|
@ -22,12 +24,12 @@ jobs:
|
|||
nix-env -iA npins
|
||||
nix-env -iA tea
|
||||
|
||||
- name: Update dependencies
|
||||
- name: Update dependencies and open PR if necessary
|
||||
run: |
|
||||
cd src
|
||||
|
||||
npins update
|
||||
|
||||
- name: Open PR if necessary
|
||||
run: |
|
||||
git diff-index --quiet HEAD
|
||||
|
||||
if [ $? -eq 1 ]; then
|
||||
|
|
Loading…
Reference in a new issue