Skip to content

Synchronize upstream inputs #34

Synchronize upstream inputs

Synchronize upstream inputs #34

Workflow file for this run

---
name: Synchronize upstream inputs
on:
workflow_dispatch:
inputs:
input:
type: string
description: flake input to be synced
required: true
jobs:
sync-upstream:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@main
with:
# ref: master
# submodules: true
token: "${{ secrets.GITHUB_TOKEN }}"
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flake-checker-action@main
- name: update flake upstream input
shell: bash
run: |
nix flake lock --update-input ${{ inputs.input }}
- uses: EndBug/add-and-commit@main
with:
add: flake.lock
commit: --signoff
message: "chore(flake): update flake.lock to sync input.${{ inputs.input }}"