mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 09:31:54 -05:00
Aly Raffauf
1413801e6d
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
28 lines
833 B
YAML
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 |