From a4f13d1fd563d49ae7b95929f5dd0436dadc42ec Mon Sep 17 00:00:00 2001 From: Adnan Kamili Date: Wed, 16 Sep 2020 17:35:37 +0530 Subject: [PATCH] updated workflow --- .github/workflows/update.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 7d0dc1e5..9b9024a2 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -37,11 +37,14 @@ jobs: yq w -i cryptlex/cryptlex-enterprise/Chart.yaml 'version' ${{ steps.semvers.outputs.patch }} yq w -i cryptlex/cryptlex-enterprise/Chart.yaml 'appVersion' ${{ steps.semvers.outputs.patch }} - - name: Commit and push updates - uses: test-room-7/action-update-file@v1 + - name: Commit files + run: | + git add ./cryptlex/cryptlex-enterprise/*.yaml + git config --local user.email "action@github.com" + git config --local user.name "GitHub Action" + git commit -m "Updated images" -a | exit 0 + + - name: Push changes + uses: ad-m/github-push-action@master with: - file-path: | - cryptlex/cryptlex-enterprise/Chart.yaml - cryptlex/cryptlex-enterprise/values.yaml - commit-msg: Updated images - github-token: ${{ secrets.REPO_ACCESS_TOKEN }} \ No newline at end of file + github_token: ${{ secrets.REPO_ACCESS_TOKEN }} \ No newline at end of file