Skip to content

Commit 598b44e

Browse files
ryan-williamsclaude
andcommitted
Add \guild_id\ input to update-archive action
Guild ID is required for \`archive.py\` since the default was removed during genericization. Callers must pass their guild ID explicitly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 10887a9 commit 598b44e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

actions/update-archive/action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Update Discord Archive
22
description: Fetch new messages, rebuild DB, sync to D1, push to DVX remote
33

44
inputs:
5+
guild_id:
6+
description: Discord guild (server) ID
7+
required: true
58
discord_token:
69
description: Discord bot token
710
required: true
@@ -49,10 +52,11 @@ runs:
4952
shell: bash
5053

5154
# Fetch new messages
52-
- run: uv run .discord-agent/archive.py
55+
- run: uv run .discord-agent/archive.py -g "$DISCORD_GUILD"
5356
shell: bash
5457
env:
5558
DISCORD_TOKEN: ${{ inputs.discord_token }}
59+
DISCORD_GUILD: ${{ inputs.guild_id }}
5660

5761
# Rebuild SQLite
5862
- run: uv run .discord-agent/build_db.py

0 commit comments

Comments
 (0)