mirror of
https://github.com/hsjobeki/noogle.git
synced 2024-12-26 15:34:25 +03:00
chore: add update job for nix-master
This commit is contained in:
parent
36e0fe8c65
commit
d384822c98
@ -1,8 +1,8 @@
|
||||
name: update-flake-lock
|
||||
name: update-nixpkgs-master-lock
|
||||
on:
|
||||
workflow_dispatch: # allows manual triggering
|
||||
schedule:
|
||||
- cron: '0 0 * * *' # runs daily at 00:00
|
||||
- cron: "0 0 * * *" # runs daily at 00:00
|
||||
|
||||
jobs:
|
||||
lockfile:
|
||||
@ -23,5 +23,3 @@ jobs:
|
||||
pr-labels: |
|
||||
auto-merge
|
||||
inputs: nixpkgs-master
|
||||
|
||||
|
25
.github/workflows/update-nixpkgs.yml
vendored
Normal file
25
.github/workflows/update-nixpkgs.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
name: update-nix-master-lock
|
||||
on:
|
||||
workflow_dispatch: # allows manual triggering
|
||||
schedule:
|
||||
- cron: "0 1 * * *" # runs daily at 00:00
|
||||
|
||||
jobs:
|
||||
lockfile:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v25
|
||||
with:
|
||||
extra_nix_config: |
|
||||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Update flake.lock
|
||||
uses: DeterminateSystems/update-flake-lock@v20
|
||||
with:
|
||||
token: ${{ secrets.GH_ACTIONS }}
|
||||
pr-title: "Update: nix-master input"
|
||||
pr-labels: |
|
||||
auto-merge
|
||||
inputs: nix-master
|
Loading…
Reference in New Issue
Block a user