nixcfg/.github/workflows/flake-update-inputs.yml
Aly Raffauf 1413801e6d github: update flake.lock weekly with pull request
github: use DeterminateSystems nix installer

github: run cicid on prs

github/flake-update-inputs: use PAT to trigger subsequent workflows

github: simplify workflow runs

github: setup git after checkout

github/flake-update-inputs: don't self assign reviews

github/git-sync-mirrors: only run on master

github: don't sync to codeberg

github: only run nix checks on .nix updates

github: only run nix checks on .nix and .lock updates

github: ignore .github and _img paths
2024-07-14 11:44:31 -04:00

28 lines
833 B
YAML

name: "update-flake-inputs"
on:
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:
jobs:
update-inputs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 1
- name: Setup Git
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
with:
token: ${{ secrets.FLAKE_UPDATE_PAT }}
pr-title: "flake: update inputs"
pr-assignees: alyraffauf
pr-labels: |
dependencies
automated