You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/actions/learn-github-actions/contexts.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -206,7 +206,9 @@ The `github` context contains information about the workflow run and the event t
206
206
|`github.retention_days`|`string`| The number of days that workflow run logs and artifacts are kept. |
207
207
|`github.run_id`|`string`| {% data reusables.github-actions.run_id_description %} |
208
208
|`github.run_number`|`string`| {% data reusables.github-actions.run_number_description %} |
209
+
{%- ifversion fpt or ghec or ghes > 3.5 or ghae-issue-4722 %}
209
210
|`github.run_attempt`|`string`| A unique number for each attempt of a particular workflow run in a repository. This number begins at 1 for the workflow run's first attempt, and increments with each re-run. |
211
+
{% endif %}
210
212
|`github.server_url`|`string`| The URL of the GitHub server. For example: `https://github.com`. |
211
213
|`github.sha`|`string`| The commit SHA that triggered the workflow run. |
212
214
|`github.token`|`string`| A token to authenticate on behalf of the GitHub App installed on your repository. This is functionally equivalent to the `GITHUB_TOKEN` secret. For more information, see "[Automatic token authentication](/actions/security-guides/automatic-token-authentication)." |
0 commit comments