fix(workflows): Another one?
Some checks failed
npins update / npins_update (push) Failing after 33s

This commit is contained in:
Tom Hubrecht 2023-12-12 12:35:37 +01:00
parent 450cac2fe8
commit 6f137c1dd5

View file

@ -2,7 +2,7 @@ name: npins update
on: on:
schedule: schedule:
# Run at 11 o'clock every day # Run at 11 o'clock every day
- cron: "0 12 * * *" - cron: "37 12 * * *"
jobs: jobs:
npins_update: npins_update:
@ -12,6 +12,8 @@ jobs:
run: apt-get update && apt-get install sudo run: apt-get update && apt-get install sudo
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with:
path: src
- uses: https://github.com/cachix/install-nix-action@v22 - uses: https://github.com/cachix/install-nix-action@v22
with: with:
@ -22,12 +24,12 @@ jobs:
nix-env -iA npins nix-env -iA npins
nix-env -iA tea nix-env -iA tea
- name: Update dependencies - name: Update dependencies and open PR if necessary
run: | run: |
cd src
npins update npins update
- name: Open PR if necessary
run: |
git diff-index --quiet HEAD git diff-index --quiet HEAD
if [ $? -eq 1 ]; then if [ $? -eq 1 ]; then