diff --git a/.github/workflows/contributors.yml b/.github/workflows/contributors.yml new file mode 100644 index 0000000..cb89646 --- /dev/null +++ b/.github/workflows/contributors.yml @@ -0,0 +1,21 @@ +name: Generate Contributors + +on: + push: + branches: + - main # Or your default branch + +jobs: + contrib-readme-job: + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Generate Contributors List + uses: khulnasoft/readme-contributors-action@v2 + with: + # This token is automatically generated by GitHub + token: ${{ secrets.GITHUB_TOKEN }} + # Specify the path to your organization's README + readme_path: 'profile/README.md'