diff --git a/.github/workflows/contributors.yaml b/.github/workflows/contributors.yaml new file mode 100644 index 00000000..5041782e --- /dev/null +++ b/.github/workflows/contributors.yaml @@ -0,0 +1,27 @@ +name: Update contributors + +on: + schedule: + - cron: '0 0 * * *' + + workflow_dispatch: + +jobs: + contributors: + runs-on: ubuntu-latest + steps: + - uses: wow-actions/contributors-list@v1 + with: + svgPath: contributors.svg + affiliation: all + includeBots: false + userNameHeight: 19 + itemTemplate: > + + + + {{{ name }}} + + + commitMessage: Update contributors + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index 83569c12..62d8045f 100644 --- a/README.md +++ b/README.md @@ -335,6 +335,8 @@ Some notes about upgrading to a major or minor version. All types of contributions are encouraged and valued. See the [Contributing](CONTRIBUTING.md) guidelines, the community looks forward to your contributions! +[![Contributors list](https://raw.githubusercontent.com/gremo/nest-winston/master/contributors.svg)](https://github.com/gremo/nest-winston/graphs/contributors) + ## License This project is released under the under terms of the [ISC License](LICENSE).