Skip to content

Commit

Permalink
Merge pull request #102 from yashksaini-coder/yash/fix-77
Browse files Browse the repository at this point in the history
[Documentation]: Add Contributors list action workflow
  • Loading branch information
ajay-dhangar authored Oct 6, 2024
2 parents 0f9a4c8 + 072f683 commit a00cae2
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/add-contributor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Update Contributors in README

on:
push:
branches: ["main"]
workflow_dispatch:

jobs:
contrib-readme-job:
runs-on: ubuntu-latest
name: A job to automate contrib in readme
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Update Contributors List
uses: akhilmhdh/contributors-readme-action@v2.3.10
with:
commit_message: "Updated contributors list"
committer_username: "yashksaini-coder"
committer_email: "115717039+yashksaini-coder@users.noreply.github.com"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,10 @@ If you are using GitHub Pages for hosting, this command is a convenient way to b
## Contributing

We welcome contributions from developers of all experience levels. Please refer to the [CONTRIBUTING.md](./CONTRIBUTING.md) file for guidelines.

## Our Valuable Contributors ❤️✨

We are grateful to all the contributors who have helped improve this project. Your contributions are what make this project better!

<!-- readme: contributors -start -->
<!-- readme: contributors -end -->

0 comments on commit a00cae2

Please sign in to comment.