Skip to content

Commit

Permalink
Workflow to update chart changelog [skip ci]
Browse files Browse the repository at this point in the history
Signed-off-by: Viet Nguyen Duc <[email protected]>
  • Loading branch information
VietND96 committed Dec 8, 2023
1 parent 5fd5e05 commit 245cca0
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/helm-chart-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,3 @@ jobs:
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- name: Update chart CHANGELOG
run: ./generate_chart_changelog.sh

- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "Selenium CI Bot"
git commit -m "Update chart CHANGELOG [skip ci]" -a
- name: Push changes
uses: ad-m/github-push-action@d91a481090679876dfc4178fef17f286781251df # master
with:
github_token: ${{ secrets.SELENIUM_CI_TOKEN }}
branch: trunk
30 changes: 30 additions & 0 deletions .github/workflows/update-chart-changelog.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Update Chart CHANGELOG

on:
page_build:
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Update chart CHANGELOG
run: ./generate_chart_changelog.sh

- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "Selenium CI Bot"
git commit -m "Update chart CHANGELOG [skip ci]" -a
- name: Push changes
uses: ad-m/github-push-action@d91a481090679876dfc4178fef17f286781251df # master
with:
github_token: ${{ secrets.SELENIUM_CI_TOKEN }}
branch: trunk

0 comments on commit 245cca0

Please sign in to comment.