Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add contributors #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/update-contributors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Update Contributors File

on:
push:
branches:
- main

jobs:
update-contributors:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Fetch contributors from GitHub API
run: |
curl -s https://api.github.com/repos/${{ github.repository }}/contributors \
| jq -r '.[] | "- [@\(.login)](https://github.com/\(.login))"' \
> CONTRIBUTORS.md

- name: Commit and push CONTRIBUTORS file
uses: EndBug/add-and-commit@v9
with:
author_name: "GitHub Actions"
author_email: "github-actions@github.com"
message: "Update CONTRIBUTORS file"
3 changes: 3 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Contributors

This project exists thanks to inDrive experts the wonderful people who contribute. If you want to contribute, please check the [Contributing Guidelines](./docs/about-handbook/handbook-contributing.md).
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,15 @@ To contribute to this handbook, please refer to our guide: ["Contributing to the
* [Tech and Business Glossary](./docs/glossary/tech-business-glossary.md)

## Abbreviations and Acronyms

* [Abbreviations and Acronyms](./docs/abbreviations-and-acronyms.md)


## Contributors

* [Contributors](./CONTRIBUTORS.md).


## License

This project is open source and is licensed under the MIT License. For more details, please see the [LICENSE](LICENSE) file.
Expand Down