Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions .github/workflows/update-flake-lock-non-critical.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Update Flake Lock (Non-Critical)

on:
workflow_dispatch:
schedule:
- cron: '0 0 1 */2 *'

jobs:
update-flake-lock-non-critical:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1

- name: Install Nix
uses: ./.github/actions/nix-install-ephemeral

- name: Update non-critical flake inputs
run: |
nix flake update \
devshell \
flake-parts \
flake-utils \
git-hooks \
nix-darwin \
nix-editor \
nix2container \
treefmt-nix

- name: Create Pull Request
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "chore: update flake.lock non-critical inputs (bimonthly)"
title: "chore: update flake.lock non-critical inputs (bimonthly)"
body: |
Automated bimonthly update of non-critical flake inputs:
- `devshell`
- `flake-parts`
- `flake-utils`
- `git-hooks`
- `nix-darwin`
- `nix-editor`
- `nix2container`
- `treefmt-nix`
branch: auto-update-flake-lock-non-critical
base: develop
labels: |
dependencies
automated
45 changes: 45 additions & 0 deletions .github/workflows/update-flake-lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Update Flake Lock

on:
workflow_dispatch:
schedule:
- cron: '0 0 1 * *'

jobs:
update-flake-lock:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1

- name: Install Nix
uses: ./.github/actions/nix-install-ephemeral

- name: Update critical flake inputs
run: |
nix flake update \
nixpkgs \
rust-overlay \
multigres \
nix-eval-jobs

- name: Create Pull Request
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "chore: update flake.lock (monthly)"
title: "chore: update flake.lock (monthly)"
body: |
Automated monthly update of critical flake inputs:
- `nixpkgs` (nixos-unstable channel)
- `rust-overlay`
- `multigres`
- `nix-eval-jobs`
branch: auto-update-flake-lock
base: develop
labels: |
dependencies
automated
Loading