nyxexprs/.github/workflows/update-flake.yml
dependabot[bot] c0f32ecc94
Bump cachix/cachix-action from 15 to 16
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 15 to 16.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](https://github.com/cachix/cachix-action/compare/v15...v16)

---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-17 01:38:58 +00:00

41 lines
886 B
YAML

name: Update flake
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0" # weekly
jobs:
update:
if: github.repository == 'notashelf/nyxexprs'
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: "${{ secrets.GH_TOKEN}}"
- uses: DeterminateSystems/nix-installer-action@main
- uses: cachix/cachix-action@v16
with:
name: nyx
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Update flake
run: nix flake update
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "[CI]: update flake inputs"
push_options: "--force"
commit_user_name: GitHub Actions
build:
needs: update
uses: ./.github/workflows/build.yml
secrets: inherit