summaryrefslogtreecommitdiff
path: root/.github/workflows/update-nixpkgs.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/update-nixpkgs.yaml')
-rw-r--r--.github/workflows/update-nixpkgs.yaml16
1 files changed, 6 insertions, 10 deletions
diff --git a/.github/workflows/update-nixpkgs.yaml b/.github/workflows/update-nixpkgs.yaml
index 81fbe9e..8b0ac1b 100644
--- a/.github/workflows/update-nixpkgs.yaml
+++ b/.github/workflows/update-nixpkgs.yaml
@@ -1,25 +1,21 @@
name: update nixpkgs inputs
on:
- # schedule:
- # # run daily at 0:00 utc
- # - cron: "0 0 * * *"
+ schedule:
+ # run daily at 0:00 utc
+ - cron: "0 0 * * *"
workflow_dispatch:
-permissions: read-all
-
jobs:
update-nixpkgs:
runs-on: ubuntu-latest
steps:
- - name: checkout repo
- uses: actions/checkout@v3
+ - uses: actions/checkout@v3
- - name: update nixpkgs inputs
- uses: ./.github/actions/flake-update
+ - uses: ./.github/actions/flake-update
with:
- inputs: nixpkgs nixpkgs-stable
commit-msg: "flake: update nixpkgs inputs"
github-token: ${{ secrets.GITHUB_TOKEN }}
+ inputs: nixpkgs nixpkgs-stable
update-token: ${{ secrets.FLAKE_UPDATE }}