nyxexprs/.github/workflows/update-flake.yml
dependabot[bot] 766169b810
build(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [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/v4...v5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 02:08:56 +00:00

45 lines
935 B
YAML

name: Update flake
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0" # weekly
permissions:
contents: read
id-token: write
jobs:
update:
if: github.repository == 'notashelf/nyxexprs'
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v5
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@v6
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