From 29e625ed58fe98186a476db322728c2a33023050 Mon Sep 17 00:00:00 2001 From: alexesprit Date: Tue, 6 Oct 2020 18:39:16 +0300 Subject: [PATCH] Add headers for different usage examples --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 806309c..579cfa8 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ Update (i.e. commit and push) files on GitHub. The action requires GitHub token for authentication; no username or e-mail are required. +### Basic usage + Here is an example of a workflow using `action-update-file`:
@@ -34,6 +36,8 @@ jobs: Note that this action does not change files. They should be changed with scripts and/or other actions. +### Update multiple files + You can also update multiple files:
@@ -63,6 +67,8 @@ jobs: ```
+### Use glob patterns + The action supports glob patterns as well: