From 2a87c9f45eabef09c67dbb99f765771228ab970a Mon Sep 17 00:00:00 2001 From: Misha Kav Date: Sat, 8 Oct 2022 20:34:55 +0300 Subject: [PATCH] :memo: add explnation to `updateIfChanged` --- README.md | 1 + action.yml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index a012cc2..1f52652 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,7 @@ Parameter | Description `logoPosition` | The position of the logo. `style` | The style like "flat" or "social". `cacheSeconds` | The cache lifetime in seconds (must be greater than 300). +`updateIfChanged` | Default is `false`. If `true` will update the gist only if content changed. ### Color Range Parameters (optional) diff --git a/action.yml b/action.yml index 9d02190..44bb212 100644 --- a/action.yml +++ b/action.yml @@ -19,6 +19,10 @@ inputs: message: description: 'The right text of the badge' required: true + updateIfChanged: + description: 'If true will update the gist only if content changed' + default: 'false' + required: false labelColor: description: 'The left color of the badge' required: false