From 402c5273b309e675b823b140b2f45cb921a985c9 Mon Sep 17 00:00:00 2001 From: tidusjar Date: Wed, 6 Oct 2021 20:35:48 +0100 Subject: [PATCH] ci: :rocket: Added contributors to the readme --- .github/workflows/contributors.yml | 28 ++++++++++++++++++++++++++++ README.md | 4 +--- 2 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/contributors.yml diff --git a/.github/workflows/contributors.yml b/.github/workflows/contributors.yml new file mode 100644 index 000000000..91554c6b7 --- /dev/null +++ b/.github/workflows/contributors.yml @@ -0,0 +1,28 @@ +name: Contributors + +on: + push: + branches: [ develop ] + workflow_dispatch: + +jobs: + update-contributors: + + runs-on: ubuntu-latest + + steps: + + - uses: lowlighter/metrics@latest + with: + token: ${{ secrets.WORKFLOW_PAT }} + filename: metrics.plugin.contributors.categories.svg + template: repository + repo: Ombi + base: "" + plugin_contributors: yes + plugin_contributors_sections: categories + plugin_contributors_categories: | + { + "📚 Documentation": ["README.md", "docs/**"], + "💻 Code": ["src/**"] + } \ No newline at end of file diff --git a/README.md b/README.md index 60f886a72..ffd88e484 100644 --- a/README.md +++ b/README.md @@ -68,9 +68,7 @@ Here are some of the features Ombi has: # Contributors -We are looking for any contributions to the project! Just pick up a task, if you have any questions ask and i'll get straight on it! - -Please feel free to submit a pull request! +[![Contributors](/metrics.plugin.contributors.categories.svg)](/metrics.plugin.contributors.categories.svg) # Donation If you feel like donating you can donate with the below buttons!