Skip to content

Conversation

szokeasaurusrex
Copy link
Member

@szokeasaurusrex szokeasaurusrex commented Sep 22, 2025

The PRs from the Rust toolchain update bot don't trigger the pull_request-triggered workflows. This is a GitHub feature, not a bug. This change adds a workflow_dispatch trigger to our CI action, and has the Rust toolchain update bot automatically trigger the action after opening the PR.

I tested this change with #2781. Although the workflow run does not show on that PR, we can see that, in fact, the CI did run against the commit. My guess is maybe it has to do with the fact that the #2781 is against #2780, rather than the master branch.

@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/rust-toolchain-update-ci-workflow branch from 99aacaa to 2ff1d15 Compare September 22, 2025 09:41
@szokeasaurusrex szokeasaurusrex marked this pull request as ready for review September 22, 2025 09:41
@szokeasaurusrex szokeasaurusrex requested a review from a team as a code owner September 22, 2025 09:41
Copy link
Member

@lcian lcian left a comment

Choose a reason for hiding this comment

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

I think it doesn't show up under the PR as the workflow is not triggered by the PR itself, rather by an API call, so GH cannot detect it.
You probably would still need to approve/commit to the PR to trigger the workflows, also considering that some of them are required, so that's good as it will prevent an accidental merge of broken stuff.

@szokeasaurusrex szokeasaurusrex merged commit 6889a79 into master Sep 22, 2025
25 checks passed
@szokeasaurusrex szokeasaurusrex deleted the szokeasaurusrex/rust-toolchain-update-ci-workflow branch September 22, 2025 10:07
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