2024-07-14 16:56:59 -04:00
|
|
|
name: "flake-update"
|
2024-03-03 19:38:53 -05:00
|
|
|
on:
|
|
|
|
schedule:
|
2024-07-14 10:28:53 -04:00
|
|
|
- cron: "0 0 * * 0"
|
2024-03-03 19:38:53 -05:00
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
2024-07-03 17:07:40 -04:00
|
|
|
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:
|
2024-07-03 21:34:19 -04:00
|
|
|
ref: ${{ github.head_ref }}
|
2024-06-13 22:03:57 -04:00
|
|
|
fetch-depth: 1
|
2024-07-14 10:28:53 -04:00
|
|
|
- name: Setup Git
|
2024-07-03 21:34:19 -04:00
|
|
|
run: |
|
2024-07-14 10:28:53 -04:00
|
|
|
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:
|
2024-07-14 10:28:53 -04:00
|
|
|
token: ${{ secrets.FLAKE_UPDATE_PAT }}
|
|
|
|
pr-title: "flake: update inputs"
|
|
|
|
pr-assignees: alyraffauf
|
|
|
|
pr-labels: |
|
|
|
|
dependencies
|
|
|
|
automated
|