nyxexprs/.github/workflows/update-flake.yml
dependabot[bot] bdd8d3763e
build(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-03 11:37:18 +00:00

31 lines
654 B
YAML

name: Update flake
on:
schedule:
- cron: "0 0 * * 0" # weekly
jobs:
update:
if: github.repository == 'notashelf/nyxpkgs'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: cachix/cachix-action@v12
with:
name: nyxpkgs
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- run: nix flake update
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Update flake"
build:
needs: update
uses: ./.github/workflows/build.yml
secrets: inherit