mirror of
https://github.com/NotAShelf/nyxexprs.git
synced 2025-11-18 11:34:10 +00:00
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
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I42399c70c3ef2ca0173e6e1f14d0f20f6a6a6964
46 lines
959 B
YAML
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@v5
|
|
with:
|
|
token: "${{ secrets.GH_TOKEN}}"
|
|
|
|
- name: "Install Nix"
|
|
uses: cachix/install-nix-action@v31.8.2
|
|
|
|
- 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
|