elastic / elastic/ai-github-actions

fix: clarify updatecli configuration in dependency review example

Open
#1,149 0 comments 0 reactions 0 assignees View on GitHub
agentic-workflows
Dominant language
Python
Stars
11
Forks
16
Avg merge
22h 9m
Merged PRs (30d)
31

Description

## Summary
This fixes a workflow configuration trap in the Dependency Review examples.

- Updated the Updatecli guidance comment to explicitly tell users to uncomment the `with:` block before setting `allowed-bot-users`.
- Regenerated the compiled workflow so `.github/workflows/trigger-dependency-review.yml` matches the source template.

## Why
Issue #1148 reported that users could reasonably uncomment only `allowed-bot-users`, which places it at the job top-level and produces an invalid workflow.

Closes #1148.

---
[What is this?](https://ela.st/github-ai-tools) | [From workflow: Trigger Bug Hunter](https://github.com/elastic/ai-github-actions/actions/runs/26224897386)

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

---

> [!NOTE]
> This was originally intended as a pull request, but the git push operation failed.
>
> **Workflow Run:** [View run details and download bundle artifact](https://github.com/elastic/ai-github-actions/actions/runs/26224897386)
>
> The bundle file is available in the `agent` artifact in the workflow run linked above.

To create a pull request with the changes:

```sh
# Download the artifact from the workflow run
gh run download 26224897386 -n agent -D /tmp/agent-26224897386

# Fetch the bundle into a local branch
git fetch /tmp/agent-26224897386/aw-fix-1148-updatecli-with-hint.bundle refs/heads/fix-1148-updatecli-with-hint:refs/heads/fix-1148-updatecli-with-hint-e091656319ee3a74
git checkout fix-1148-updatecli-with-hint-e091656319ee3a74

# Push the branch to origin
git push origin fix-1148-updatecli-with-hint-e091656319ee3a74

# Create the pull request
gh pr create --title 'fix: clarify updatecli configuration in dependency review example' --base main --head fix-1148-updatecli-with-hint-e091656319ee3a74 --repo elastic/ai-github-actions
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.