nur-packages/.github/workflows/update.yml

28 lines
700 B
YAML
Raw Normal View History

2023-02-23 10:59:24 +11:00
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
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
2023-02-23 11:03:50 +11:00
- name: "Update input ${{ matrix.input }}"
uses: DeterminateSystems/update-flake-lock@v16
2023-02-23 10:59:24 +11:00
with:
inputs: ${{ matrix.input }}
pr-labels: dependencies