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

32 lines
1.1 KiB
YAML
Raw Normal View History

2024-07-14 16:56:59 -04:00
name: "flake-update"
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:
inputs-update:
2024-03-03 19:38:53 -05:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
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"
2024-07-14 17:04:17 -04:00
- uses: DeterminateSystems/nix-installer-action@main
2024-07-15 08:22:10 -04:00
- uses: DeterminateSystems/magic-nix-cache-action@main
2024-07-20 21:31:17 -04:00
- name: Update fetchGit repos
run: |
nix run nixpkgs#update-nix-fetchgit -- homeManagerModules/desktop/default.nix
nix run nixpkgs#update-nix-fetchgit -- homes/aly/firefox/default.nix
nix run nixpkgs#update-nix-fetchgit -- homes/aly/mail/default.nix
2024-07-14 17:04:17 -04:00
- 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