Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authoreric sciple <ericsciple@users.noreply.github.com>2020-07-14 13:08:52 -0400
committerGitHub <noreply@github.com>2020-07-14 13:08:52 -0400
commita9bfbc9cbe3efd3f0c97d49a4f86054f46684bb3 (patch)
tree8f65ff461e80b6a5d17859f93bb475008d05a53c /README.md
parentb92a2fe2f4e41a6409f8d7fa0c3ed391f54d0c2d (diff)
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/README.md b/README.md
index 7d872be..9ad3116 100644
--- a/README.md
+++ b/README.md
@@ -118,6 +118,7 @@ Refer [here](https://github.com/actions/checkout/blob/v1/README.md) for previous
- [Checkout multiple repos (private)](#Checkout-multiple-repos-private)
- [Checkout pull request HEAD commit instead of merge commit](#Checkout-pull-request-HEAD-commit-instead-of-merge-commit)
- [Checkout pull request on closed event](#Checkout-pull-request-on-closed-event)
+- [Push a commit using the built-in token](#Push-a-commit-using-the-built-in-token)
## Fetch all history for all tags and branches
@@ -213,6 +214,24 @@ jobs:
- uses: actions/checkout@v2
```
+## Push a commit using the built-in token
+
+```yaml
+on: push
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - run: |
+ date > generated.txt
+ git config user.name github-actions
+ git config user.email github-actions-bot@users.noreply.github.com
+ git add .
+ git commit -m "generated"
+ git push
+```
+
# License
The scripts and documentation in this project are released under the [MIT License](LICENSE)