Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add update-flake-lock cron jobs for example-{simple, share-services} and test #168

Merged
merged 1 commit into from
Apr 22, 2024
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
23 changes: 23 additions & 0 deletions .github/workflows/update-flake-lock-ex-share-services.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: update-flake-lock-ex-share-services
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/flake.lock"
pr-title: "Update example/share-services/flake.lock"
pr-labels: |
automated
path-to-flake-dir: 'example/share-services'
branch: "update_flake_lock_ex_share_services"
23 changes: 23 additions & 0 deletions .github/workflows/update-flake-lock-ex-simple.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: update-flake-lock-ex-simple
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 simple/flake.lock"
pr-title: "Update example/simple/flake.lock"
pr-labels: |
automated
path-to-flake-dir: 'example/simple'
branch: "update_flake_lock_ex_simple"
23 changes: 23 additions & 0 deletions .github/workflows/update-flake-lock-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: update-flake-lock-test
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(test): Update flake.lock"
pr-title: "Update test/flake.lock"
pr-labels: |
automated
path-to-flake-dir: 'test'
branch: "update_flake_lock_test"
Loading