From 6d1875ef1a6b787e9868abc45ac13337d39e4ba8 Mon Sep 17 00:00:00 2001 From: Rishab Kumar <45825464+rishabkumar7@users.noreply.github.com> Date: Mon, 31 Jul 2023 18:45:36 -0400 Subject: [PATCH] Update add-contributors.yml --- .github/workflows/add-contributors.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 }}