From bc04851e8a5d0823104023ecd8549582eba6d907 Mon Sep 17 00:00:00 2001 From: alexesprit Date: Tue, 6 Oct 2020 18:32:29 +0300 Subject: [PATCH] Wrap example workflows into spoiler --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 47a0de1..72ebd32 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,9 @@ The action requires GitHub token for authentication; no username or e-mail are r Here is an example of a workflow using `action-update-file`: +
+ workflow.yml (Click to expand) + ```yml name: Resources on: repository_dispatch @@ -27,11 +30,15 @@ jobs: commit-msg: Update resources github-token: ${{ secrets.GITHUB_TOKEN }} ``` +
Note that this action does not change files. They should be changed with scripts and/or other actions. You can also update multiple files: +
+ workflow.yml (Click to expand) + ```yml name: Resources on: repository_dispatch @@ -54,6 +61,7 @@ jobs: commit-msg: Update resources github-token: ${{ secrets.GITHUB_TOKEN }} ``` +
### Inputs