Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .agents/skills/release_updates/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,13 @@ python3 .agents/skills/release_updates/scripts/run_release_updates.py \
After the PR is created, post a notification to the `#oncall-client` Slack channel (`C06MT1NRBFV`):

```python
import json, os, sys, urllib.request
import json, os, subprocess, sys, urllib.request

# Capture the URL of the PR you just created
pr_url = subprocess.check_output(
['gh', 'pr', 'view', '--json', 'url', '--jq', '.url'], text=True
).strip()

# pr_url: obtain from the PR created in the previous step, e.g.:
# pr_url = subprocess.check_output(['gh', 'pr', 'view', '--json', 'url', '--jq', '.url'], text=True).strip()
token = os.environ.get('DOCS_SLACK_BOT_TOKEN')
channel = 'C06MT1NRBFV' # #oncall-client
if not token:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-docs-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ jobs:
PY

# Installs the stable oz CLI and runs the release_updates skill in the
# release-docs Oz environment (K5KStCm5aYvhfBJb8cHol6), which has
# DOCS_AGENT_GRAFANA_TOKEN configured for on-call reviewer assignment.
# release-docs Oz environment (K5KStCm5aYvhfBJb8cHol6).
# WARP_API_KEY is the Docs Agent's API key.
# DOCS_SLACK_BOT_TOKEN must be added to the environment for Slack notifications.
- name: Install Oz CLI
run: |
curl -sL "https://app.warp.dev/download/cli?os=linux&package=deb&arch=x86_64" -o /tmp/oz.deb
Expand Down
Loading