Skip to content

Commit 790f166

Browse files
authored
Merge pull request github#15843 from github/repo-sync
repo sync
2 parents bf44de6 + 382a299 commit 790f166

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/actions/learn-github-actions/contexts.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,9 @@ The `github` context contains information about the workflow run and the event t
206206
| `github.retention_days` | `string` | The number of days that workflow run logs and artifacts are kept. |
207207
| `github.run_id` | `string` | {% data reusables.github-actions.run_id_description %} |
208208
| `github.run_number` | `string` | {% data reusables.github-actions.run_number_description %} |
209+
{%- ifversion fpt or ghec or ghes > 3.5 or ghae-issue-4722 %}
209210
| `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 %}
210212
| `github.server_url` | `string` | The URL of the GitHub server. For example: `https://github.com`. |
211213
| `github.sha` | `string` | The commit SHA that triggered the workflow run. |
212214
| `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

Comments
 (0)