Skip to content

Commit

Permalink
ci: add nix flake auto updater
Browse files Browse the repository at this point in the history
  • Loading branch information
ElysaSrc committed Dec 1, 2023
1 parent bc3789c commit c2410e8
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
/.github @osrd-project/devops
/.github/CODEOWNERS @flomonster @bloussou @nicolaswurtz

# --- NIX ---
/nix @osrd-project/devops
/flake.lock @osrd-project/devops
*.nix @osrd-project/devops

# --- FRONT ---
/front @osrd-project/front-maintainers
/front/src/common/api/osrdEditoastApi.ts
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/update_nix_flake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: update_nix_flake

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

jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
with:
commit-msg: "ci: update flake.lock"
pr-title: "ci: update flake.lock"
pr-labels: |
dependencies

0 comments on commit c2410e8

Please sign in to comment.