Compare commits
2 Commits
42d94876d8
...
6221984a29
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6221984a29 | ||
|
|
287bcfea8e |
0
.beads/.sync.lock
Normal file
0
.beads/.sync.lock
Normal file
@@ -2,7 +2,7 @@ name: Update Nix Packages with nix-update
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '@weekly'
|
- cron: '0 2 * * *'
|
||||||
workflow_dispatch: # Allow manual triggering
|
workflow_dispatch: # Allow manual triggering
|
||||||
inputs:
|
inputs:
|
||||||
package:
|
package:
|
||||||
@@ -16,9 +16,9 @@ env:
|
|||||||
GIT_COMMITTER_NAME: 'nix-update bot'
|
GIT_COMMITTER_NAME: 'nix-update bot'
|
||||||
GIT_COMMITTER_EMAIL: 'bot@m3ta.dev'
|
GIT_COMMITTER_EMAIL: 'bot@m3ta.dev'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
nix-update:
|
nix-update:
|
||||||
runs-on: ubuntu-latest
|
runs-on: nixos
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -26,21 +26,6 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
token: ${{ secrets.NIX_UPDATE_TOKEN }}
|
token: ${{ secrets.NIX_UPDATE_TOKEN }}
|
||||||
|
|
||||||
- name: Install Nix
|
|
||||||
uses: https://github.com/cachix/install-nix-action@v31
|
|
||||||
with:
|
|
||||||
extra_nix_config: |
|
|
||||||
experimental-features = nix-command flakes
|
|
||||||
sandbox = false
|
|
||||||
|
|
||||||
- name: Configure Nix
|
|
||||||
run: |
|
|
||||||
mkdir -p ~/.config/nix
|
|
||||||
cat >> ~/.config/nix/nix.conf << EOF
|
|
||||||
experimental-features = nix-command flakes
|
|
||||||
sandbox = false
|
|
||||||
EOF
|
|
||||||
|
|
||||||
- name: Check for available packages to update
|
- name: Check for available packages to update
|
||||||
id: check-packages
|
id: check-packages
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user