nixcfg/.github/workflows/flake-update-inputs.yml

28 lines
833 B
YAML
Raw Normal View History

name: "update-flake-inputs"
2024-03-03 19:38:53 -05:00
on:
schedule:
- cron: "0 0 * * 0"
2024-03-03 19:38:53 -05:00
workflow_dispatch:
jobs:
update-inputs:
2024-03-03 19:38:53 -05:00
runs-on: ubuntu-latest
steps:
2024-07-05 21:58:22 -04:00
- uses: actions/checkout@v4
2024-03-03 19:38:53 -05:00
with:
ref: ${{ github.head_ref }}
2024-06-13 22:03:57 -04:00
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
2024-03-03 19:38:53 -05:00
with:
token: ${{ secrets.FLAKE_UPDATE_PAT }}
pr-title: "flake: update inputs"
pr-assignees: alyraffauf
pr-labels: |
dependencies
automated