Skip to content

Commit 7713478

Browse files
joshmgrossdkmos2016
authored andcommitted
Adjust positioning of user email note and permissions heading (actions#2044)
1 parent 009b9ae commit 7713478

File tree

7 files changed

+4036
-20
lines changed

7 files changed

+4036
-20
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,9 @@ jobs:
312312
git push
313313
```
314314

315-
## Recommended permissions
315+
*NOTE:* The user email is `{user.id}+{user.login}@users.noreply.github.com`. See users API: https://api.github.com/users/github-actions%5Bbot%5D
316+
317+
# Recommended permissions
316318

317319
When using the `checkout` action in your GitHub Actions workflow, it is recommended to set the following `GITHUB_TOKEN` permissions to ensure proper functionality, unless alternative auth is provided via the `token` or `ssh-key` inputs:
318320

@@ -321,9 +323,6 @@ permissions:
321323
contents: read
322324
```
323325

324-
*NOTE:* The user email is `{user.id}+{user.login}@users.noreply.github.com`. See users API: https://api.github.com/users/github-actions%5Bbot%5D
325-
326-
327326
# License
328327

329328
The scripts and documentation in this project are released under the [MIT License](LICENSE)

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ inputs:
9898
github-server-url:
9999
description: The base URL for the GitHub instance that you are trying to clone from, will use environment defaults to fetch from the same instance that the workflow is running from unless specified. Example URLs are https://github.com or https://my-ghes-server.example.com
100100
required: false
101+
github-proxy-url:
102+
description: The base URL to proxy Github checkout
103+
required: false
101104
outputs:
102105
ref:
103106
description: 'The branch, tag or SHA that was checked out'

0 commit comments

Comments
 (0)