Skip to content

Commit 7c159dd

Browse files
GitHub Actions: Be precise about the format (#400)
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
1 parent 9604bb9 commit 7c159dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/actions/reference/context-and-expression-syntax-for-github-actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ The `github` context contains information about the workflow run and the event t
9393
| `github.event_path` | `string` | The path to the full event webhook payload on the runner. |
9494
| `github.head_ref` | `string` | The `head_ref` or source branch of the pull request in a workflow run. This property is only available when the event that triggers a workflow run is a `pull_request`. |
9595
| `github.job` | `string` | The [`job_id`](/actions/reference/workflow-syntax-for-github-actions#jobsjob_id) of the current job. |
96-
| `github.ref` | `string` | The branch or tag ref that triggered the workflow run. |
96+
| `github.ref` | `string` | The branch or tag ref that triggered the workflow run. For branches this in the format `refs/heads/<branch_name>`, and for tags it is `refs/tags/<tag_name>`. |
9797
| `github.repository` | `string` | The owner and repository name. For example, `Codertocat/Hello-World`. |
9898
| `github.repository_owner` | `string` | The repository owner's name. For example, `Codertocat`. |
9999
| `github.run_id` | `string` | {% data reusables.github-actions.run_id_description %} |

0 commit comments

Comments
 (0)