Open
Conversation
Replace the weekly cron schedule with workflow_dispatch to allow manual/remote triggering. Adds a comment indicating the workflow is triggered remotely from rstudio/shinycoreci; existing branch and pull_request triggers remain unchanged.
Add a GitHub Actions workflow that triggers on pull_request_target (opened, reopened, ready_for_review). When a PR is authored by a user whose login starts with 'copilot-swe-agent' and is not a draft, the job uses the GitHub CLI to request reviewer 'schloerke' (after checking if they are already requested). Grants pull-requests: write permission and uses GH_TOKEN for authentication.
There was a problem hiding this comment.
Pull request overview
Updates GitHub Actions automation to streamline maintainer review requests for Copilot-created PRs and to shift package checks away from a fixed weekly schedule toward manual/remote triggering.
Changes:
- Added a
pull_request_targetworkflow to auto-request a maintainer review on certain PR events. - Removed the weekly scheduled trigger from the R CMD check workflow and added
workflow_dispatch.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| .github/workflows/copilot-pr-review-request.yaml | New workflow that requests a maintainer review for PRs authored by the Copilot SWE agent. |
| .github/workflows/R-CMD-check.yaml | Removes weekly cron scheduling; keeps PR/push triggers and adds manual dispatch support. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Delete the .github/workflows/copilot-pr-review-request.yaml workflow that auto-requested a maintainer review for pull requests opened by the copilot-swe-agent user. The removed workflow triggered on pull_request_target (opened/reopened/ready_for_review) and would add reviewer "schloerke" for non-draft PRs; this change stops that automated reviewer request behavior.
Contributor
Author
|
@copilot resolve the merge conflicts in this pull request |
Co-authored-by: karangattu <4220325+karangattu@users.noreply.github.com>
Co-authored-by: karangattu <4220325+karangattu@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request updates the GitHub Actions workflows to improve automation around pull request reviews and scheduled checks.
Changes to scheduled checks:
R-CMD-check.yamlworkflow, so it will no longer run automatically every Monday. The workflow can still be triggered manually or by pull requests and branch updates.