From 5eb9baeba08ae78bd4483b6c4f6497dd50224c28 Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Thu, 9 Nov 2023 10:00:21 +0100 Subject: [PATCH] Sponsoring is optional. --- defaults/main.yml | 4 ++++ templates/README.md.j2 | 2 ++ 2 files changed, 6 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index a9a4653..a39e621 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -25,3 +25,7 @@ gitlab_container: "robertdebock/github-action-molecule:6.0.0" # The molecule action to use. molecule_action: "robertdebock/molecule-action@6.0.0" + +# Would you like to add a sponsor message? +sponsor message: yes + diff --git a/templates/README.md.j2 b/templates/README.md.j2 index db256c2..e213381 100644 --- a/templates/README.md.j2 +++ b/templates/README.md.j2 @@ -90,4 +90,6 @@ If you find issues, please register them in [GitHub](https://github.com/{{ githu [{{ meta.galaxy_info.author }}]({{ author_website }}) +{% if sponsor_message %} Please consider [sponsoring me](https://github.com/sponsors/{{ github_namespace }}). +{% endif %}