Skip to content

solution 06 first pr

github-actions[bot] edited this page May 5, 2026 · 1 revision

Solution Reference: Challenge 6 -- Your First Pull Request

This shows what a complete pull request looks like.

Example PR

Title: Fix TODO: add workshop schedule link to welcome.md

Body:

## What this changes

Replaces the TODO placeholder on line 15 of `docs/welcome.md` with an actual
link to the workshop schedule.

## Why

Students need a working link to find session times. The TODO was a known gap
filed in issue #3.

Closes #3

Key elements

Title

  • Describes the change clearly: someone reading just the title understands what happened
  • Short enough to scan in a list

Body

  • What: Summarizes the change
  • Why: Explains the motivation
  • Closes #N: Links to the issue this PR resolves -- GitHub automatically closes the issue when the PR merges

Linked issue

The Closes #3 line creates a two-way link. The issue shows "referenced by PR #5" and the PR shows "Closes #3." When the PR merges, issue #3 closes automatically.

Passing checks

If the repository has automated checks (the PR validation bot), a green checkmark appears. If checks fail, read the bot's feedback comment for specific guidance.

Alternate linking syntax

All of these work identically:

  • Closes #3
  • Fixes #3
  • Resolves #3

What matters

The learning objective is connecting a change (PR) to a reason (issue) through GitHub's linking system. If your PR has a clear title, a description, and references an issue number, you completed this challenge.

Clone this wiki locally