From 9792548c48250ea957b6d48182dce5c65016f9f1 Mon Sep 17 00:00:00 2001 From: Cweili <3weili@gmail.com> Date: Fri, 5 Jan 2024 17:53:37 +0800 Subject: [PATCH] docs: add contributors --- .github/workflows/contributor.yml | 14 ++++++++++++++ .github/workflows/deploy.yml | 3 ++- README.md | 5 +++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/contributor.yml diff --git a/.github/workflows/contributor.yml b/.github/workflows/contributor.yml new file mode 100644 index 0000000..1196ec5 --- /dev/null +++ b/.github/workflows/contributor.yml @@ -0,0 +1,14 @@ +on: + push: + branches: + - master + +jobs: + contrib-readme-job: + runs-on: ubuntu-latest + name: A job to automate contrib in readme + steps: + - name: Contribute List + uses: akhilmhdh/contributors-readme-action@v2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index eacd29e..8c13fa5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,7 +4,8 @@ name: deploy on: # Runs on pushes targeting the default branch push: - branches: [$default-branch] + branches: + - master # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/README.md b/README.md index 9077c5c..19975cc 100644 --- a/README.md +++ b/README.md @@ -189,6 +189,11 @@ const theme = { /> ``` +## Contributors + + + + [fontawesome-icons]: https://fontawesome.com/icons [fontawesome]: https://fontawesome.com/ [fontawesome-npm]: https://www.npmjs.com/search?q=%40fortawesome%20svg%20icons