Repository navigation
ci(release): harden the release pipeline + first-class single-package releases #3676
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
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
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
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.
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 | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: MervinPraison/PraisonAI
Length of output: 29936
🌐 Web query:
GitHub Actions API list workflow runs created_at updated_at running workflow run status waiting💡 Result:
To list GitHub Actions workflow runs via the GitHub REST API, you can use the endpoints for repositories or specific workflows [1][2]. The primary endpoint to list workflow runs for a repository is: GET /repos/{owner}/{repo}/actions/runs The API supports filtering by status and creation time [1][2]. Status filtering: You can use the status parameter to filter workflow runs [1]. While the documentation groups potential values, valid status strings include queued, in_progress, completed, waiting, pending, and requested [1][3]. Specifically, the waiting status is used by GitHub Actions in certain scenarios [1]. Time-based filtering: You can filter by creation time using the created parameter [1][2]. This parameter accepts a date-time range syntax (e.g., YYYY-MM-DD or ISO 8601 format) to narrow down results based on when the workflow run was created [1]. Workflow run object data: The response object for a workflow run explicitly includes the created_at and updated_at fields, which are returned as strings in ISO 8601 date-time format [4]. For more information on the syntax for the created parameter, consult the official GitHub documentation on search syntax [1][4].
Citations:
🌐 Web query:
GitHub Actions workflow run object created_at updated_at documentation updates on waiting status💡 Result:
In the GitHub Actions REST API, the Workflow Run object explicitly includes created_at and updated_at fields [1][2]. Both are returned as strings in ISO 8601 date-time format [1][3]. The created_at field denotes when the workflow run was initialized, while updated_at indicates the last time the workflow run's status or properties were modified [1][4]. Regarding the waiting status, this state specifically indicates that a workflow run or a job is paused and awaiting external intervention or conditions before it can proceed [5]. It is commonly triggered by: - Deployment protection rules (e.g., environment-level approvals) [5]. - Required manual reviews [5]. It is distinct from the pending status, which is often associated with concurrency limits or queueing [5]. Official GitHub documentation categorizes these statuses within the workflow run lifecycle to help distinguish between transient queueing states and states requiring user action [5]. Developers can query these status values via the REST API or monitor them through webhook events for workflow jobs [2][6].
Citations:
🌐 Web query:
"create_date" "last_modified" "running_workflow_run" updated_at GitHub Actions API💡 Result:
In the GitHub Actions REST API, the workflow run object contains created_at and updated_at fields to track timestamps, rather than create_date or last_modified [1][2][3]. The relevant timestamp fields for a workflow run are: - created_at: The date and time when the workflow run was created [1][3]. - updated_at: The date and time when the workflow run was last updated [1][3]. - run_started_at: The date and time when the workflow run execution actually started [4][3]. These fields are provided as strings in ISO 8601 format (date-time) [1][5][3]. If you are using the GitHub GraphQL API, the corresponding fields are named createdAt and updatedAt [6].
Citations:
Measure the waiting duration, not the workflow creation time.
created_atis the workflow run start time. A job can enterwaitingafter already running more than six hours, so this condition can treat a fresh approval requirement as stale and allow another release dispatch. Use a timestamp for the transition intowaiting, or useupdated_atonly if GitHub’s API documents that the workflow-run status update sets it.🤖 Prompt for AI Agents