Skip to content

Conversation

@rhysd
Copy link
Contributor

@rhysd rhysd commented Dec 17, 2025

Why:

Closes: #41255

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

Added job.<job_id>.snapshot.if to the available contexts table based on the runner implementation as follows:

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.

Copilot AI review requested due to automatic review settings December 17, 2025 16:46
@github-actions github-actions bot added the triage Do not begin working on this issue until triaged by the team label Dec 17, 2025
@github-actions
Copy link
Contributor

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/reference/workflows-and-actions/contexts.md fpt
ghec
ghes@ 3.19 3.18 3.17 3.16 3.15 3.14
fpt
ghec
ghes@ 3.19 3.18 3.17 3.16 3.15 3.14

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

🤖 This comment is automatically generated.

Copy link
Contributor

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

This PR adds documentation for the jobs.<job_id>.snapshot.if conditional to the contexts and special functions table. The addition clarifies which contexts (github, needs, strategy, matrix, vars, inputs) and special functions (None) are available when using the if condition with the snapshot job configuration, based on the GitHub Actions runner implementation.

Key changes:

  • Added a single row to the contexts availability table documenting jobs.<job_id>.snapshot.if

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rhysd
Copy link
Contributor Author

rhysd commented Dec 17, 2025

CI seemed to fail for the reason unrelated to the changes in this PR.

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.

jobs.<job_name>.snapshot allows github context but it is not listed in 'Available context' document

1 participant