nix-config/.github/workflows/update.yml
Sanjay Chacku Purakal 339c930c21
re-add token
2024-04-27 14:27:20 +02:00

21 lines
627 B
YAML

name: update-flake-lock
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '0 0 * * 3,6' # runs weekly on Wednesday and Saturday at 00:00
jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v1
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v21
with:
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
pr-title: "Update flake.lock"
pr-labels: automated
commit-msg: "update"