Skip to content

Commit 35bb42f

Browse files
authored
Merge branch 'main' into 2845-new-notification-filters
2 parents 3cf9911 + aa7684c commit 35bb42f

6 files changed

Lines changed: 30 additions & 15 deletions

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 %}

content/github/committing-changes-to-your-project/creating-a-commit-on-behalf-of-an-organization.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,17 @@ Organization's can use the `name@organization.com` email as a public point of co
2626

2727
### Creating commits with an `on-behalf-of` badge on the command line
2828

29-
{% data reusables.pull_requests.commit-message-with-trailer-beginning %}
29+
1. Type your commit message and a short, meaningful description of your changes. After your commit description, instead of a closing quotation, add two empty lines.
30+
```shell
31+
$ git commit -m "Refactor usability tests.
32+
>
33+
>
34+
```
35+
{% tip %}
36+
37+
**Tip:** If you're using a text editor on the command line to type your commit message, ensure there are two newlines between the end of your commit description and the `on-behalf-of:` commit trailer.
38+
39+
{% endtip %}
3040
3141
2. On the next line of the commit message, type `on-behalf-of: @org <name@organization.com>`, then a closing quotation mark.
3242

content/github/committing-changes-to-your-project/creating-a-commit-with-multiple-authors.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,17 @@ You can use {% data variables.product.prodname_desktop %} to create a commit wit
3939

4040
{% data reusables.pull_requests.collect-co-author-commit-git-config-info %}
4141

42-
{% data reusables.pull_requests.commit-message-with-trailer-beginning %}
42+
1. Type your commit message and a short, meaningful description of your changes. After your commit description, instead of a closing quotation, add two empty lines.
43+
```shell
44+
$ git commit -m "Refactor usability tests.
45+
>
46+
>
47+
```
48+
{% tip %}
49+
50+
**Tip:** If you're using a text editor on the command line to type your commit message, ensure there are two newlines between the end of your commit description and the `Co-authored-by:` commit trailer.
51+
52+
{% endtip %}
4353
4454
3. On the next line of the commit message, type `Co-authored-by: name <name@example.com>` with specific information for each co-author. After the co-author information, add a closing quotation mark.
4555

content/github/using-git/adding-a-remote.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ You may encounter these errors when trying to add a remote.
3737
This error means you've tried to add a remote with a name that already exists in your local repository:
3838

3939
```shell
40-
$ git remote add origin https://{% data variables.command_line.codeblock %}/octocat/Spoon-Knife
40+
$ git remote add origin https://{% data variables.command_line.codeblock %}/octocat/Spoon-Knife.git
4141
> fatal: remote origin already exists.
4242
```
4343

data/reusables/pull_requests/commit-message-with-trailer-beginning.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)