Skip to content

Commit 5d9714a

Browse files
authored
Merge branch 'main' into repo-sync
2 parents b22687a + 1ba5982 commit 5d9714a

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

content/actions/guides/building-and-testing-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123

124124
#### Using a specific Python version
125125

126-
You can configure a specific version of python. For example, 3.8. Alternatively, you can semantic version syntax to get the latest minor release. This example uses the latest minor release of Python 3.
126+
You can configure a specific version of python. For example, 3.8. Alternatively, you can use semantic version syntax to get the latest minor release. This example uses the latest minor release of Python 3.
127127

128128
{% raw %}
129129
```yaml

content/actions/reference/environment-variables.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ We strongly recommend that actions use environment variables to access the files
5757
| `GITHUB_API_URL` | Returns the API URL. For example: `{% data variables.product.api_url_code %}`.
5858
| `GITHUB_GRAPHQL_URL` | Returns the GraphQL API URL. For example: `{% data variables.product.graphql_url_code %}`.
5959

60+
{% tip %}
61+
62+
**Note:** If you need to use a workflow run's URL from within a job, you can combine these environment variables: `$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID`
63+
64+
{% endtip %}
65+
6066
#### Determining when to use default environment variables or contexts
6167

6268
{% data reusables.github-actions.using-context-or-environment-variables %}

0 commit comments

Comments
 (0)