nyxexprs/.github/workflows/update-flake.yml
dependabot[bot] cfed295718
build(deps): bump stefanzweifel/git-auto-commit-action from 5 to 6
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 5 to 6.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-16 01:59:26 +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@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@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