| Copyright | (c) 2025 Bellroy Pty Ltd |
|---|---|
| License | BSD-3-Clause |
| Maintainer | Bellroy Tech Team <haskell@bellroy.com> |
| Safe Haskell | None |
| Language | Haskell2010 |
Language.Github.Actions.Job.Id
Description
This module provides the JobId type for uniquely identifying jobs within
GitHub Actions workflows.
Job IDs are used to reference jobs in dependency declarations (needs), outputs, and other cross-job references. They must be unique within a workflow and follow specific naming conventions.
For more information about GitHub Actions job IDs, see: https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#jobsjob_id
Documentation
A unique identifier for a job within a GitHub Actions workflow.
Job IDs are used to: * Reference jobs in dependency declarations (needs) * Access job outputs from other jobs * Identify jobs in workflow run logs and API responses
Job IDs must be unique within a workflow and should follow these conventions: * Start with a letter or underscore * Contain only alphanumeric characters, hyphens, and underscores * Be descriptive of the job's purpose
Example usage:
import Language.Github.Actions.Job.Id -- Simple job IDs buildJobId :: JobId buildJobId = JobId "build" testJobId :: JobId testJobId = JobId "test" -- More descriptive job IDs deployProdJobId :: JobId deployProdJobId = JobId "deploy-production"
For more details, see: https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#jobsjob_id
Instances
| FromJSON JobId Source # | |||||
Defined in Language.Github.Actions.Job.Id | |||||
| FromJSONKey JobId Source # | |||||
Defined in Language.Github.Actions.Job.Id | |||||
| ToJSON JobId Source # | |||||
| ToJSONKey JobId Source # | |||||
Defined in Language.Github.Actions.Job.Id | |||||
| Generic JobId Source # | |||||
Defined in Language.Github.Actions.Job.Id Associated Types
| |||||
| Show JobId Source # | |||||
| Eq JobId Source # | |||||
| Ord JobId Source # | |||||
| type Rep JobId Source # | |||||
Defined in Language.Github.Actions.Job.Id | |||||