Slot: job_permissions
The access the job’s own permissions key gives its GITHUB_TOKEN, in place of the workflow’s. A called workflow can lower its token’s access, never raise it.
URI: gha:job_permissions
Applicable Classes
Section titled “Applicable Classes”| Name | Description | Modifies Slot |
|---|---|---|
| GhaWorkflowJob | A job under a workflow’s jobs key: steps that run on a runner, or a call to… |
no |
Properties
Section titled “Properties”Type and Range
Section titled “Type and Range”| Property | Value |
|---|---|
| Range | GhaPermission |
| Domain Of | GhaWorkflowJob |
Cardinality and Requirements
Section titled “Cardinality and Requirements”| Property | Value |
|---|---|
| Multivalued | Yes |
Slot Characteristics
Section titled “Slot Characteristics”| Property | Value |
|---|---|
| Owner | GhaWorkflowJob |
See Also
Section titled “See Also”Identifier and Mapping Information
Section titled “Identifier and Mapping Information”Schema Source
Section titled “Schema Source”- from schema: https://w3id.org/lmodel/github-actions
Mappings
Section titled “Mappings”| Mapping Type | Mapped Value |
|---|---|
| self | gha:job_permissions |
| native | gha:job_permissions |
LinkML Source
Section titled “LinkML Source”name: job_permissionsdescription: The access the job's own `permissions` key gives its GITHUB_TOKEN, in place of the workflow's. A called workflow can lower its token's access, never raise it.from_schema: https://w3id.org/lmodel/github-actionssee_also:- https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#jobsjob_idpermissionsrank: 1000owner: GhaWorkflowJobdomain_of:- GhaWorkflowJobrange: gha_permissionmultivalued: true