elastic / elastic/ai-github-actions

Fix workflow-name drift and typo in mention workflow text

Open
#1,855 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

> [!CAUTION]
> Protected files were modified in this change.
> This pull request is in `request_review` mode and requires explicit human scrutiny before merge.
>
> Protected files: `.github/workflows/gh-aw-mention-in-issue.lock.yml`, `.github/workflows/gh-aw-mention-in-issue.md`

## Summary

This PR resolves \#1854 by applying both requested text fixes:

1. Updated the monitor workflow name in `scripts/trigger-ci-workflows.sh` from `Trigger Estc Downstream Health` to `Trigger Internal Downstream Health` to match the real workflow name.
2. Corrected the typo `instructred` -> `instructed` in `.github/workflows/gh-aw-mention-in-issue.md`.
3. Recompiled generated workflow output so `.github/workflows/gh-aw-mention-in-issue.lock.yml` reflects the source change.

Closes \#1854.

## Validation

- `make compile`
- `make lint-workflows`
- `bash -n scripts/trigger-ci-workflows.sh`

> [!WARNING]
>
> Firewall blocked 1 domain
>
> The following domain was blocked by the firewall during workflow execution:
>
> - `models.dev`
>> To allow these domains, add them to the `network.allowed` list in your workflow frontmatter:
>
> ```yaml
> network:
> allowed:
> - defaults
> - "models.dev"
> ```
>
> See [Network Configuration](https://github.github.com/gh-aw/reference/network/) for more information.
>
>

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

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.
>
> **Original error:** pushSignedCommits: refusing unsigned push for branch 'fix-issue-1854-text-updates-b10e30649bc7c045': Signed-commit payload violates file-protection policy (request_review): .github/workflows/gh-aw-mention-in-issue.lock.yml, .github/workflows/gh-aw-mention-in-issue.md
>
> **Workflow Run:** [View run details and download bundle artifact](https://github.com/elastic/ai-github-actions/actions/runs/32141651487)
>
> 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 32141651487 -n agent -D /tmp/agent-32141651487

# Fetch the bundle into a temporary ref, then update the local branch
git fetch /tmp/agent-32141651487/aw-fix-issue-1854-text-updates.bundle refs/heads/fix-issue-1854-text-updates:refs/bundles/create-pr-fix-issue-1854-text-updates-b10e30649bc7c045-5c542480
git update-ref refs/heads/fix-issue-1854-text-updates-b10e30649bc7c045 refs/bundles/create-pr-fix-issue-1854-text-updates-b10e30649bc7c045-5c542480
git checkout fix-issue-1854-text-updates-b10e30649bc7c045
# Ensure the working tree matches the updated branch
git reset --hard
# Remove the temporary bundle ref
git update-ref -d refs/bundles/create-pr-fix-issue-1854-text-updates-b10e30649bc7c045-5c542480

# Push the branch to origin
git push origin fix-issue-1854-text-updates-b10e30649bc7c045

# Create the pull request
gh pr create --title 'Fix workflow-name drift and typo in mention workflow text' --base main --head fix-issue-1854-text-updates-b10e30649bc7c045 --repo elastic/ai-github-actions
```

Contributor guide

Open the contributing guide

Research direction

Start with scripts/trigger-ci-workflows.sh and .github/workflows/gh-aw-mention-in-issue.md, then inspect the generated .github/workflows/gh-aw-mention-in-issue.lock.yml. Verify the workflow name and spelling match the requested text, regenerate outputs with make compile, and run make lint-workflows and bash -n scripts/trigger-ci-workflows.sh.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, shell
Domain
ci-cd
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.