ci: add flake input job
This commit is contained in:
parent
782b05c59e
commit
3d8a9cfa9a
27
.github/workflows/update.yml
vendored
Normal file
27
.github/workflows/update.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
name: "Update flake inputs"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
# bump weekly at 6:50
|
||||
- cron: '50 6 * * 1'
|
||||
jobs:
|
||||
update-flake:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
input:
|
||||
- nixpkgs
|
||||
- flake-utils
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v19
|
||||
- name: Update ${{ matrix.input }}
|
||||
uses: DeterminateSystems/updateflake-lock@v16
|
||||
with:
|
||||
extra_nix_config: |
|
||||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
inputs: ${{ matrix.input }}
|
||||
pr-labels: dependencies
|
Loading…
Reference in New Issue
Block a user