-
Notifications
You must be signed in to change notification settings - Fork 245
Ignore Dependabot security updates in the failure watcher #464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
oschwald
merged 1 commit into
main
from
wstorey/stf-1245-dependabot-failure-watcher-emails-go-to-the-correct-person
Jul 30, 2026
+90
−10
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: maxmind/libmaxminddb
Length of output: 7630
🌐 Web query:
GitHub CLI gh run list --limit default created date Actions API response per_page 100💡 Result:
The GitHub CLI command
gh run listprovides a--limitflag (alias-L) to control the number of workflow runs to fetch [1][2][3]. While the specific default value for the--limitflag may vary across versions of the GitHub CLI (commonly cited as 20 or 30) [1][2][4][3], the underlying GitHub Actions REST API uses aper_pageparameter to handle pagination [5][6][7]. Key points regarding these parameters include: 1. GitHub CLI--limit: This flag specifies the maximum number of runs to retrieve [1][8]. If not specified, it defaults to a built-in value (often 20 in recent versions) [1][2][3]. 2. GitHub Actions APIper_page: This API parameter controls the number of results returned per request [5][6]. It has a default value of 30 and a maximum allowed value of 100 [5][6][9]. 3. Interaction: When you usegh run list --limit, the GitHub CLI manages the API calls for you, performing internal pagination if the requested limit exceeds the API'sper_pagemaximum (100) or to aggregate results to reach your specified limit [4]. If you need to retrieve a large number of runs, the GitHub CLI will handle the necessary API pagination to fulfill your--limitrequest [4]. If you are working directly with the GitHub REST API, you must explicitly setper_page(up to 100) and iterate through pages using thepageparameter to retrieve more than 100 results [5][6][7].Citations:
🌐 Web query:
site:docs.github.com REST API actions workflow runs list workflow runs filtered by created💡 Result:
To filter workflow runs by their creation date using the GitHub REST API, you use the created parameter [1][2]. This parameter is available for the endpoints that list workflow runs for a repository and for a specific workflow [1][3]. The created parameter accepts a string that defines a date-time range [1][4]. The syntax for this string follows the standard GitHub search syntax, which allows for various operators such as ranges [1][5]. For example, you can specify dates in YYYY-MM-DD format or ISO 8601 date-time formats [1][4]. Applicable API Endpoints: 1. List workflow runs for a repository: GET /repos/{owner}/{repo}/actions/runs [1][3] 2. List workflow runs for a workflow: GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs [1][3] When using the created parameter, the API endpoint will return up to 1,000 results for the query [1][2]. For detailed information on the specific operators supported for date ranges (e.g., >, <,..), refer to the official GitHub documentation on search syntax [1][4].
Citations:
Fail closed when the run query reaches its cap.
--limit 500stops this query after the 500 newest in-window runs, even though the API can return up to 1,000 matchingcreatedresults. If more than 500 versions runs exist in the 8-day window, older failures are dropped before filtering and the workflow can report all-clear. Fetch a sentinel row and fail closed when it is present, or establish a guaranteed lower bound for this repository’s weekly Dependabot run count.🤖 Prompt for AI Agents