diff --git a/.forgejo/workflows/update-flake-lock.yml b/.forgejo/workflows/update-flake-lock.yml index 2db93655..5eb132a5 100644 --- a/.forgejo/workflows/update-flake-lock.yml +++ b/.forgejo/workflows/update-flake-lock.yml @@ -1,9 +1,13 @@ name: update-flake-lock run-name: ${{ github.actor }} - update-flake-lock +# on: +# schedule: +# - cron: '0 0 * * 6' +# # “At 00:00 on Saturday.” on: - schedule: - - cron: '0 0 * * 6' - # “At 00:00 on Saturday.” + push: + branches: + - main jobs: update-flake-lock: runs-on: docker @@ -13,8 +17,7 @@ jobs: - name: "Setup Runner" run: | apk update - apk add git nodejs nix \ - --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ + apk add git nodejs nix --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ git config --global user.email "${{github.actor}}" git config --global user.name "Albert J. Copeland" - uses: actions/checkout@v3