Clarify available contexts and special functions at snapshot condition#41914
Clarify available contexts and special functions at snapshot condition#41914rhysd wants to merge 2 commits intogithub:mainfrom
snapshot condition#41914Conversation
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 linksNote: Please update the URL for your staging server or codespace. The table shows the files in the
Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server 🤖 This comment is automatically generated. |
There was a problem hiding this comment.
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.
|
CI seemed to fail for the reason unrelated to the changes in this PR. |
|
@rhysd Thanks for opening a PR for the issue. I still need to figure out why it was removed at some point - might have been a mistake, that happens once in a while. Don't worry about the failing check, it's something on our end that our engineers are still trying to figure out. |
|
A stale label has been added to this pull request because it has been open 30 days with no activity. If you think this pull request should remain open, please add a new comment. |
Why:
Closes: #41255
What's being changed (if available, include any code snippets, screenshots, or gifs):
Added
job.<job_id>.snapshot.ifto the available contexts table based on the runner implementation as follows:Check off the following: