Skip to content

Commit 066f4b3

Browse files
Copilotstrawgate
andauthored
Rename issue-title-prefix to title-prefix in estc detector workflow (#542)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: strawgate <6384545+strawgate@users.noreply.github.com> Co-authored-by: Bill Easton <bill.easton@elastic.co>
1 parent c672a5d commit 066f4b3

3 files changed

Lines changed: 21 additions & 21 deletions

File tree

‎.github/workflows/gh-aw-estc-actions-resource-not-accessible-detector.lock.yml‎

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.github/workflows/gh-aw-estc-actions-resource-not-accessible-detector.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ on:
5252
type: number
5353
required: false
5454
default: 1
55-
issue-title-prefix:
55+
title-prefix:
5656
description: "Title prefix for created issue (e.g. '[resource-not-accessible-by-integration]')"
5757
type: string
5858
required: false
@@ -81,7 +81,7 @@ safe-outputs:
8181
noop:
8282
create-issue:
8383
max: 1
84-
title-prefix: "${{ inputs.issue-title-prefix }} "
84+
title-prefix: "${{ inputs.title-prefix }} "
8585
close-older-issues: false
8686
expires: 7d
8787
timeout-minutes: 90
@@ -184,7 +184,7 @@ Use the prescan output to investigate only workflows that already matched `Resou
184184
- **CAN**: Read files, search code, run commands, create one issue.
185185
- **CANNOT**: Push changes or open PRs in this workflow.
186186
- Only investigate workflows listed in `/tmp/gh-aw/agent/resource-not-accessible-findings.tsv`.
187-
- Do not file a duplicate issue if an open `${{ inputs.issue-title-prefix }}` issue already tracks the same workflows and failure pattern.
187+
- Do not file a duplicate issue if an open `${{ inputs.title-prefix }}` issue already tracks the same workflows and failure pattern.
188188

189189
## Permission reference
190190

@@ -218,7 +218,7 @@ The fix is to add an explicit `permissions:` block at the workflow or job level
218218

219219
- If the findings file has no data rows, call `noop` with:
220220
`No 'Resource not accessible by integration' failures found in the configured look-back window — nothing to report`.
221-
- Check open issues for `${{ inputs.issue-title-prefix }}` in the title and compare workflow paths/evidence.
221+
- Check open issues for `${{ inputs.title-prefix }}` in the title and compare workflow paths/evidence.
222222
- If an existing open issue already tracks the same findings, call `noop` and reference the existing issue number.
223223

224224
## Step 3: Investigate each affected workflow
@@ -233,7 +233,7 @@ For each workflow in the findings file:
233233

234234
Call `create_issue` exactly once with:
235235

236-
- **Title**: A short descriptive title summarizing the affected workflows (do NOT repeat the issue-title-prefix in the title)
236+
- **Title**: A short descriptive title summarizing the affected workflows (do NOT repeat the title-prefix in the title)
237237
- **Body**:
238238

239239
````

‎gh-agent-workflows/estc-actions-resource-not-accessible-detector/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ See [example.yml](example.yml) for the full workflow file.
3434
| --- | --- | --- | --- |
3535
| `long-term-branches` | Space-separated list of long-term branch names to scan in addition to the default branch (e.g. `'8.x 7.17'`) | No | `""` |
3636
| `look-back-days` | Number of days to look back when scanning failed workflow runs | No | `1` |
37-
| `issue-title-prefix` | Title prefix used for the combined issue and dedup checks | No | `[resource-not-accessible-by-integration]` |
37+
| `title-prefix` | Title prefix used for the combined issue and dedup checks | No | `[resource-not-accessible-by-integration]` |
3838
| `additional-instructions` | Repo-specific instructions appended to the agent prompt | No | `""` |
3939
| `setup-commands` | Shell commands run before the agent starts | No | `""` |
4040
| `allowed-bot-users` | Allowlisted bot actor usernames (comma-separated) | No | `github-actions[bot]` |

0 commit comments

Comments
 (0)