summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/check.yml1
-rw-r--r--.github/workflows/update.yml4
2 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index fa22db6..756180b 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -8,6 +8,7 @@ on:
paths:
- "**.nix"
workflow_dispatch:
+ workflow_call:
jobs:
check:
diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml
index d37d8ed..6125d2f 100644
--- a/.github/workflows/update.yml
+++ b/.github/workflows/update.yml
@@ -19,10 +19,12 @@ jobs:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: update inputs
- run: nix flake lock --update-input nixpkgs --update-input nixpkgsUnstable
+ run: nix flake lock --update-input nixpkgs --update-input nixpkgsUnstable --update-input openwrt-imagebuilder
- name: add and commit
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
message: "chore: update nixpkgs inputs"
+ check:
+ uses: ./.github/workflows/check.yml