diff --git a/.github/workflows/add-contributors.yml b/.github/workflows/add-contributors.yml index ae2d768..feca201 100644 --- a/.github/workflows/add-contributors.yml +++ b/.github/workflows/add-contributors.yml @@ -12,9 +12,9 @@ jobs: env: CONTRIB_REPOSITORY: 'rishabkumar7/the-devops-guide' CONTRIB_OUTPUT_FILE: 'CONTRIBUTORS.md' - - name: Commit changes - uses: test-room-7/action-update-file@v1 + - name: Create a PR + uses: peter-evans/create-pull-request@v3 with: - file-path: 'CONTRIBUTORS.md' - commit-msg: Update Contributors - github-token: ${{ secrets.GITHUB_TOKEN }} + commit-message: Update Contributors + title: "[automated] Update Contributors File" + token: ${{ secrets.GITHUB_TOKEN }}