Skip to content

Allow remote dispatch#94

Open
karangattu wants to merge 5 commits intomainfrom
allow-remote-dispatch
Open

Allow remote dispatch#94
karangattu wants to merge 5 commits intomainfrom
allow-remote-dispatch

Conversation

@karangattu
Copy link
Copy Markdown
Contributor

@karangattu karangattu commented Apr 15, 2026

This pull request updates the GitHub Actions workflows to improve automation around pull request reviews and scheduled checks.

Changes to scheduled checks:

  • Removed the scheduled weekly trigger from the R-CMD-check.yaml workflow, so it will no longer run automatically every Monday. The workflow can still be triggered manually or by pull requests and branch updates.

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.
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

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_target workflow 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.

Comment thread .github/workflows/copilot-pr-review-request.yaml Outdated
Comment thread .github/workflows/copilot-pr-review-request.yaml Outdated
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.
@karangattu
Copy link
Copy Markdown
Contributor Author

@copilot resolve the merge conflicts in this pull request

Copilot AI and others added 2 commits April 21, 2026 18:07
Co-authored-by: karangattu <4220325+karangattu@users.noreply.github.com>
Co-authored-by: karangattu <4220325+karangattu@users.noreply.github.com>
Copy link
Copy Markdown

Copilot AI commented Apr 21, 2026

@copilot resolve the merge conflicts in this pull request

Resolved in commit 1c78392 by merging origin/main into this branch and fixing the conflict in .github/workflows/R-CMD-check.yaml.

No UI changes were made, so there is no screenshot to provide.

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.

3 participants