Skip to content

(CI) Update Rust workflow for PR events - #1719

Open
Mikey Lombardi (He/Him) (michaeltlombardi) wants to merge 1 commit into
PowerShell:mainfrom
michaeltlombardi:maint/main/update-ci
Open

(CI) Update Rust workflow for PR events#1719
Mikey Lombardi (He/Him) (michaeltlombardi) wants to merge 1 commit into
PowerShell:mainfrom
michaeltlombardi:maint/main/update-ci

Conversation

@michaeltlombardi

Copy link
Copy Markdown
Collaborator

PR Summary

This change updates the effective pull request events for the Rust workflow from:

  • opened
  • synchronize
  • reopened

To:

  • opened
  • synchronize
  • reopened
  • labeled
  • unlabeled
  • ready_for_review

PR Context

By default, a GitHub workflow only runs when a pull_request event's activity type is opened, synchronize, or reopened. To ensure that the code coverage bypass works for adding the Ok-CodeCoverage label, the workflow should also trigger on the labeled and unlabeled activity types.

Additionally, to support triggering the workflow when a PR is moved from draft to ready to review, the workflow should define the ready_for_review activity type.

By default, a GitHub workflow only runs when a pull_request event's
activity type is opened, synchronize, or reopened. To ensure that the
code coverage bypass works for adding the `Ok-CodeCoverage` label, the
workflow should _also_ trigger on the `labeled` and `unlabeled`
activity types.

Additionally, to support triggering the workflow when a PR is moved
from draft to ready to review, the workflow should define the
`ready_for_review` activity type.

This change updates the effective pull request events for the Rust
workflow from:

- `opened`
- `synchronize`
- `reopened`

To:

- `opened`
- `synchronize`
- `reopened`
- `labeled`
- `unlabeled`
- `ready_for_review`

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No unresolved review comments; requested triggers are included.

Pull request overview

Updates the Rust CI workflow to trigger on additional pull request activity types.

Changes:

  • Adds labeled and unlabeled triggers.
  • Adds the ready_for_review trigger.
File summaries
File Description
.github/workflows/rust.yml Expands pull request activity triggers for Rust CI.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants