mirror of
https://github.com/0xrsydn/nix-hermes-agent.git
synced 2026-08-07 00:53:52 +00:00
30 lines
658 B
YAML
30 lines
658 B
YAML
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
|