Skip to content

Commit

Permalink
ci(example): share-services folder isn't a flake root
Browse files Browse the repository at this point in the history
It is the root for two other subflakes -- northwind and pgweb

+ ci(example): add share-services/pgweb update-flake-lock cron
  • Loading branch information
shivaraj-bh committed Apr 29, 2024
1 parent 5229c9a commit db9e785
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 5 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/update-flake-lock-ex-share-northwind.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: update-flake-lock-ex-share-northwind
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00

jobs:
example-lock:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
with:
commit-msg: "chore(example): Update share-services/northwind/flake.lock"
pr-title: "Update example/share-services/northwind/flake.lock"
pr-labels: |
automated
path-to-flake-dir: 'example/share-services/northwind'
branch: "update_flake_lock_ex_share_northwind"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: update-flake-lock-ex-share-services
name: update-flake-lock-ex-share-pgweb
on:
workflow_dispatch: # allows manual triggering
schedule:
Expand All @@ -15,9 +15,9 @@ jobs:
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
with:
commit-msg: "chore(example): Update share-services/flake.lock"
pr-title: "Update example/share-services/flake.lock"
commit-msg: "chore(example): Update share-services/pgweb/flake.lock"
pr-title: "Update example/share-services/pgweb/flake.lock"
pr-labels: |
automated
path-to-flake-dir: 'example/share-services'
branch: "update_flake_lock_ex_share_services"
path-to-flake-dir: 'example/share-services/pgweb'
branch: "update_flake_lock_ex_share_pgweb"

0 comments on commit db9e785

Please sign in to comment.