File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ Refer [here](https://github.com/actions/checkout/blob/v1/README.md) for previous
118
118
- [Checkout multiple repos (private)](#Checkout-multiple-repos-private)
119
119
- [Checkout pull request HEAD commit instead of merge commit](#Checkout-pull-request-HEAD-commit-instead-of-merge-commit)
120
120
- [Checkout pull request on closed event](#Checkout-pull-request-on-closed-event)
121
+ - [Push a commit using the built-in token](#Push-a-commit-using-the-built-in-token)
121
122
122
123
## Fetch all history for all tags and branches
123
124
@@ -213,6 +214,24 @@ jobs:
213
214
- uses: actions/checkout@v2
214
215
` ` `
215
216
217
+ # # Push a commit using the built-in token
218
+
219
+ ` ` ` yaml
220
+ on: push
221
+ jobs:
222
+ build:
223
+ runs-on: ubuntu-latest
224
+ steps:
225
+ - uses: actions/checkout@v2
226
+ - run: |
227
+ date > generated.txt
228
+ git config user.name github-actions
229
+ git config user.email github-actions-bot@users.noreply.github.com
230
+ git add .
231
+ git commit -m "generated"
232
+ git push
233
+ ` ` `
234
+
216
235
# License
217
236
218
237
The scripts and documentation in this project are released under the [MIT License](LICENSE)
You can’t perform that action at this time.
0 commit comments