nyxexprs/.github/workflows/update-pkgs.yml
raf 5b7385dd9b
Some checks are pending
Build / Find uncached packages (push) Waiting to run
Build / build-uncached (push) Blocked by required conditions
Run Checks / check (NIXPKGS_ALLOW_INSECURE=1 nix flake check --accept-flake-config --impure) (push) Waiting to run
Run Checks / check (nix run .#alejandra-custom -- -c . -e ./npins) (push) Waiting to run
Run Checks / build (push) Blocked by required conditions
Nix / nix (push) Waiting to run
Merge pull request #18 from NotAShelf/dependabot/github_actions/actions/checkout-6
build(deps): bump actions/checkout from 5 to 6
2025-11-24 07:46:19 +03:00

46 lines
959 B
YAML

name: Update packages
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # daily
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@v6
with:
token: "${{ secrets.GH_TOKEN}}"
- name: "Install Nix"
uses: cachix/install-nix-action@v31.8.4
- uses: cachix/cachix-action@v16
with:
name: nyx
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Update npins
run: nix run nixpkgs#npins update
- uses: stefanzweifel/git-auto-commit-action@v6
with:
commit_message: "[CI]: update npins"
push_options: "--force"
commit_user_name: GitHub Actions
build:
needs: update
uses: ./.github/workflows/build.yml
secrets: inherit