elastic / elastic/ai-github-actions

refactor: declare report-failure-as-issue in source .md files, drop Python inject script

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

> [!WARNING]
> E003: Cannot create pull request with more than 100 files (received 177). To increase the limit, set `max-patch-files: 177` (or higher) under `safe-outputs.create-pull-request` in your workflow frontmatter.

The pull request could not be created because the patch contains more files than the configured limit.

To increase the limit, add `max-patch-files` to your workflow frontmatter:

```yaml
safe-outputs:
create-pull-request:
max-patch-files: 177 # adjust as needed
```

Contributor guide

Open the contributing guide

Research direction

Start by locating the Python inject script and the source .md files referenced in the title; the issue body only shows a workflow patch-file-limit warning. Determine how the report-failure-as-issue declaration is currently injected, then verify that source .md files declare it directly and the Python injection script is no longer needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown, python
Domain
tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.