nyxexprs/.github/workflows/update-pkgs.yml
dependabot[bot] cf38de9a47
Bump cachix/cachix-action from 14 to 15
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 14 to 15.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](https://github.com/cachix/cachix-action/compare/v14...v15)

---
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>
2024-05-27 01:17:27 +00:00

42 lines
892 B
YAML

name: Update packages
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # daily
jobs:
update:
if: github.repository == 'notashelf/nyxpkgs'
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@v15
with:
name: nyx
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Update npins
run: nix run nixpkgs#npins update
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "[CI]: update npins"
push_options: "--force"
commit_user_name: GitHub Actions
build:
needs: update
uses: ./.github/workflows/build.yml
secrets: inherit