feat: add github ci for nightly version

This commit is contained in:
Rasyidan Akbar F. 2026-03-22 15:33:25 +07:00
commit b307e92b09
2 changed files with 132 additions and 0 deletions

30
.github/workflows/update-nightly.yml vendored Normal file
View file

@ -0,0 +1,30 @@
name: Update Hermes Agent Nightly
on:
schedule:
# Run daily at 04:00 UTC
- cron: "0 4 * * *"
workflow_dispatch: {}
permissions:
contents: write
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v13
- name: Run nightly updater
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config user.name "nix-hermes-agent-bot"
git config user.email "bot@nix-hermes-agent.local"
scripts/update-nightly.sh