Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii29 committed Nov 26, 2024
1 parent 36cf8a7 commit 3dfeab4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/helm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:

- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Configure Git
run: |
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/update-chart-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
echo "match=false" >> $GITHUB_ENV
fi
- name: Update appVersion in Chart.yaml
- name: Update version in Chart.yaml
if: env.match == 'true'
run: |
Expand All @@ -39,5 +39,10 @@ jobs:
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git add "${CHART_FILE}"
git commit -m "Update appVersion to ${RELEASE_TAG}"
git push origin HEAD:main
git commit -m "Update version to ${RELEASE_TAG}"
- name: Push changes
if: env.match == 'true'
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3dfeab4

Please sign in to comment.