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