-
Notifications
You must be signed in to change notification settings - Fork 65k
Open
Labels
InactiveWill be closed automatically by a stall check if no activity is detected.Will be closed automatically by a stall check if no activity is detected.contentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamgithub_actionsPull requests that update GitHub Actions codePull requests that update GitHub Actions code
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/actions/reference/workflows-and-actions/contexts
What part(s) of the article would you like to see updated?
The custom images document says that the following workflow is valid. Notice that jobs.<job_name>.snapshot.if accesses github context.
jobs:
build:
runs-on: my-image-generation-runner
snapshot:
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
image-name: my-custom-image
version: 2.*
steps:However the context availability table does not list the snapshot (or snapshot.if) key. Not listed in the table means no context is available. So I believe the key is missing in the table and we need an update.
Additional information
No response
Metadata
Metadata
Assignees
Labels
InactiveWill be closed automatically by a stall check if no activity is detected.Will be closed automatically by a stall check if no activity is detected.contentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamgithub_actionsPull requests that update GitHub Actions codePull requests that update GitHub Actions code