Feat: Add contributors action workflow (#29) #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Contributors in README | |
on: | |
push: | |
branches: ["main"] | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * *" | |
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/[email protected] | |
with: | |
commit_message: "Updated contributors list" | |
committer_username: "yashksaini-coder" | |
committer_email: "[email protected]" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |