Skip to content

docs: use reusable for checkout action instead of hardcoded version#43842

Merged
Sharra-writes merged 3 commits intogithub:mainfrom
AeternalNull:use-checkout-reusable
Apr 17, 2026
Merged

docs: use reusable for checkout action instead of hardcoded version#43842
Sharra-writes merged 3 commits intogithub:mainfrom
AeternalNull:use-checkout-reusable

Conversation

@AeternalNull
Copy link
Copy Markdown
Contributor

Why:

Closes: N/A

The current documentation hardcodes actions/checkout@v4, while the latest version is v5. This can lead to inconsistencies and outdated references in the docs.

What's being changed (if available, include any code snippets, screenshots, or gifs):

This PR updates the example workflow to replace a hardcoded action version with a reusable reference.

Check off the following:

  • A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require an SME review from GitHub staff.
  • The changes in this PR meet the docs fundamentals that are required for all content.
  • All CI checks are passing and the changes look good in the review environment.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 16, 2026

How to review these changes 👓

Thank you for your contribution. To review these changes, choose one of the following options:

A Hubber will need to deploy your changes internally to review.

Table of review links

Note: Please update the URL for your staging server or codespace.

The table shows the files in the content directory that were changed in this pull request. This helps you review your changes on a staging server. Changes to the data directory are not included in this table.

Source Review Production What Changed
actions/tutorials/create-an-example-workflow.md fpt
ghec
ghes@ 3.20 3.19 3.18 3.17 3.16 3.15 3.14
fpt
ghec
ghes@ 3.20 3.19 3.18 3.17 3.16 3.15 3.14
from reusable

Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server

🤖 This comment is automatically generated.

@github-actions github-actions bot added the triage Do not begin working on this issue until triaged by the team label Apr 16, 2026
Comment thread data/reusables/actions/workflow-basic-example-and-explanation.md Outdated
@Sharra-writes
Copy link
Copy Markdown
Contributor

@AeternalNull I think this is fine since you're using a variable that the example is using. I just added in a missing "the," and once these checks pass I'll get it merged.

@Sharra-writes Sharra-writes added this pull request to the merge queue Apr 17, 2026
Merged via the queue into github:main with commit 88b81b7 Apr 17, 2026
38 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. If you're looking for your next contribution, check out our help wanted issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

triage Do not begin working on this issue until triaged by the team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants