mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-21 09:10:16 +03:00
Merge ab5d862ce8
into 85e6279cec
This commit is contained in:
commit
7897d7b5db
14 changed files with 96 additions and 27 deletions
10
README.md
10
README.md
|
@ -41,6 +41,12 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
|
|||
# Default: ${{ github.token }}
|
||||
token: ''
|
||||
|
||||
# Github slug used to configure local user.name and user.email for git. This is
|
||||
# required to push a commit from a Github Action Workflow. Set to '' to disable
|
||||
# this configuration.
|
||||
# Default: github-action[bot]
|
||||
git-user: ''
|
||||
|
||||
# SSH key used to fetch the repository. The SSH key is configured with the local
|
||||
# git config, which enables your scripts to run authenticated git commands. The
|
||||
# post-job step removes the SSH key.
|
||||
|
@ -281,8 +287,6 @@ jobs:
|
|||
- run: |
|
||||
date > generated.txt
|
||||
# Note: the following account information will not work on GHES
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git add .
|
||||
git commit -m "generated"
|
||||
git push
|
||||
|
@ -305,8 +309,6 @@ jobs:
|
|||
- run: |
|
||||
date > generated.txt
|
||||
# Note: the following account information will not work on GHES
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git add .
|
||||
git commit -m "generated"
|
||||
git push
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue