From 662919659decb03f3a2f5781a308e3e8d1ae677a Mon Sep 17 00:00:00 2001 From: Alex Meijer Date: Thu, 3 Oct 2024 08:56:29 -0400 Subject: [PATCH] try new workflow Signed-off-by: Alex Meijer --- .github/workflows/update-manifest.yaml | 28 +++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/.github/workflows/update-manifest.yaml b/.github/workflows/update-manifest.yaml index 7ca58af..24add43 100644 --- a/.github/workflows/update-manifest.yaml +++ b/.github/workflows/update-manifest.yaml @@ -26,14 +26,28 @@ jobs: echo "manifest contents:" cat manifest - - uses: EndBug/add-and-commit@v9 - name: commit updated manifest file + # - uses: EndBug/add-and-commit@v9 + # name: commit updated manifest file + # with: + # add: 'manifest' + # commit: --signoff + # message: 'update manifest' + # author_name: 'cliffcolvin' + # github_token: + - name: Commit changes + run: | + git config --local user.email "ccolvin@kubecost.com" + git config --local user.name "cliffcolvin" + git add manifest + git commit -m "update manifest" + + - name: Push chart to repo + uses: ad-m/github-push-action@master with: - add: 'manifest' - commit: --signoff - message: 'update manifest' - author_name: 'opencost-plugin-bot' - github_token: ${{ secrets.GH_PAT }} + github_token: ${{ secrets.GH_PAT }} + directory: . + repository: opencost/opencost-plugins + branch: main