From f46f3ac830965ca2fa4bfb915df160d727790c6f Mon Sep 17 00:00:00 2001 From: Atila Fassina Date: Thu, 3 Oct 2024 21:35:21 +0200 Subject: [PATCH] chore: add all contributors --- .all-contributorsrc | 7 +++++++ .github/workflows/contributors.yml | 20 ++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 .all-contributorsrc create mode 100644 .github/workflows/contributors.yml diff --git a/.all-contributorsrc b/.all-contributorsrc new file mode 100644 index 0000000..da90a59 --- /dev/null +++ b/.all-contributorsrc @@ -0,0 +1,7 @@ +{ + "badgeTemplate": "\t\"👪\" src=\"https://img.shields.io/badge/%F0%9F%91%AA_all_contributors-<%= contributors.length %>-21bb42.svg\" />", + "commit": false, + "commitConvention": "angular", + "commitType": "docs", + "contributors": [] +} diff --git a/.github/workflows/contributors.yml b/.github/workflows/contributors.yml new file mode 100644 index 0000000..15d2ce3 --- /dev/null +++ b/.github/workflows/contributors.yml @@ -0,0 +1,20 @@ +# thank you @joshuakgoldberg +# https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/workflows/contributors.yml +jobs: + contributors: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: ./.github/actions/prepare + - env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + uses: JoshuaKGoldberg/all-contributors-auto-action@v0.5.0 + +name: Contributors + +on: + push: + branches: + - main