Skip to content

Conversation

@ProfessorManhattan
Copy link
Contributor

@ProfessorManhattan ProfessorManhattan commented Oct 13, 2025

…buntu & macOS)

  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

  • What is the current behavior? (You can also link to an open issue here)

  • What is the new behavior (if this is a feature change)?

  • Other information:

Summary by CodeRabbit

  • New Feature: Introduced a GitHub Actions workflow that executes install.doctor on pull requests. This enhancement ensures the installer runs smoothly on both Ubuntu and macOS platforms before any changes are merged. The workflow provides detailed runner information, contributing to better transparency and debugging capabilities.

…buntu & macOS)

Co-authored-by: openhands <openhands@all-hands.dev>
@github-actions
Copy link

github-actions bot commented Oct 13, 2025

Image description CodeRabbit

Walkthrough

This change introduces a GitHub Actions workflow that runs install.doctor on pull requests. It's designed to work for both Ubuntu and macOS. The workflow includes repository checkout, runner information display, and execution of the install.doctor installer via a bash script.

Changes

File Summary
.github/workflows/pr-install-doctor.yml Added a GitHub Actions workflow to run install.doctor on pull requests for Ubuntu and macOS.

🐇💻

In the land of code where the shadows lie,
A rabbit hops, its gaze held high.
With each soft thump, a bug does die,
Under the watchful CI's eye.

Pull requests bloom like daisies in spring,
Each one a chance for new joy to bring.
Now with install.doctor taking wing,
Oh, hear the coding rabbits sing! 🎵🥳


Uplevel your code reviews with CodeRabbit Pro

CodeRabbit Pro

If you like this project, please support us by purchasing the Pro version. The Pro version has advanced context, superior noise reduction and several proprietary improvements compared to the open source version. Moreover, CodeRabbit Pro is free for open source projects.

@ProfessorManhattan ProfessorManhattan merged commit 2b9a943 into master Oct 13, 2025
1 of 10 checks passed
@ProfessorManhattan ProfessorManhattan deleted the ci/pr-install-doctor branch October 13, 2025 19:53
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Image description CodeRabbit

Commits Files that changed from the base of the PR and between 374a41a and d436188 commits.
Files selected (1)
  • .github/workflows/pr-install-doctor.yml (1)
Review comments generated (1)
  • Review: 1
  • LGTM: 0

Tips

Chat with Image description CodeRabbit Bot (@coderabbitai)

  • Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
  • Invite the bot into a review comment chain by tagging @coderabbitai in a reply.

Code suggestions

  • The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
  • You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.

Pausing incremental reviews

  • Add @coderabbitai: ignore anywhere in the PR description to pause further reviews from the bot.

Comment on lines +1 to +33
name: "Run install.doctor on Pull Requests"

on:
pull_request:
types: [opened, synchronize, reopened]

permissions:
contents: read

jobs:
run_installer:
name: Run install.doctor on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
timeout-minutes: 20
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Show runner info
run: |
echo "Runner OS: $RUNNER_OS"
uname -a || true

- name: Run install.doctor installer
shell: bash
env:
CI: true
run: |
echo "Running install.doctor installer"
bash <(curl -sSL https://install.doctor/start)

Choose a reason for hiding this comment

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

Image description CodeRabbit

The workflow looks good overall, but there's a potential security concern in the script download and execution step. Downloading scripts from the internet and executing them directly can be risky if the server hosting the script is compromised. It would be safer to download the script, inspect it, and then run it.

-           bash <(curl -sSL https://install.doctor/start)
+           curl -sSL https://install.doctor/start > install.sh
+           cat install.sh
+           bash install.sh

This way, the content of the script will be printed to the console before execution, providing an opportunity to review what will be executed.

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