diff --git a/.github/workflows/charts-release.yaml b/.github/workflows/charts-release.yaml index 43d522f7169..32e3351cd62 100644 --- a/.github/workflows/charts-release.yaml +++ b/.github/workflows/charts-release.yaml @@ -103,6 +103,39 @@ jobs: fi done + - name: Create commit + id: create-commit + uses: stefanzweifel/git-auto-commit-action@c4b132ec2c77a21fcab564bd3c92610cee84b894 # tag=v4 + with: + file_pattern: charts/**/ + commit_message: "chore: Auto-update chart README [skip ci]" + commit_user_name: truecharts-bot + commit_user_email: bot@truecharts.org + commit_author: truecharts-bot + + - name: Save commit hash + id: save-commit-hash + run: | + if [ "${{ steps.create-commit.outputs.changes_detected || 'unknown' }}" = "true" ]; then + echo '::set-output name=commit_hash::${{ steps.create-commit.outputs.commit_hash }}' + else + echo "::set-output name=commit_hash::${GITHUB_SHA}" + fi + + - name: Commit Website Changes + if: | + steps.collect-changes.outputs.changesDetected == 'true' + run: | + cd pub + git config user.name "TrueCharts-Bot" + git config user.email "bot@truecharts.org" + git add --all + git commit -sm "Commit released docs for TrueCharts" || exit 0 + ## TODO: actually push the content + # git push + cd - + rm -rf pub + - name: Checkout uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3 with: @@ -164,39 +197,6 @@ jobs: cd - rm -rf dh_catalog - - name: Create commit - id: create-commit - uses: stefanzweifel/git-auto-commit-action@c4b132ec2c77a21fcab564bd3c92610cee84b894 # tag=v4 - with: - file_pattern: charts/**/ - commit_message: "chore: Auto-update chart README [skip ci]" - commit_user_name: truecharts-bot - commit_user_email: bot@truecharts.org - commit_author: truecharts-bot - - - name: Save commit hash - id: save-commit-hash - run: | - if [ "${{ steps.create-commit.outputs.changes_detected || 'unknown' }}" = "true" ]; then - echo '::set-output name=commit_hash::${{ steps.create-commit.outputs.commit_hash }}' - else - echo "::set-output name=commit_hash::${GITHUB_SHA}" - fi - - - name: Commit Website Changes - if: | - steps.collect-changes.outputs.changesDetected == 'true' - run: | - cd pub - git config user.name "TrueCharts-Bot" - git config user.email "bot@truecharts.org" - git add --all - git commit -sm "Commit released docs for TrueCharts" || exit 0 - ## TODO: actually push the content - # git push - cd - - rm -rf pub - - name: Checkout uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3 with: diff --git a/charts/dependency/promtail/Chart.yaml b/charts/dependency/promtail/Chart.yaml index a966bcfccd7..cebb52705a2 100644 --- a/charts/dependency/promtail/Chart.yaml +++ b/charts/dependency/promtail/Chart.yaml @@ -22,7 +22,7 @@ sources: - https://grafana.com/oss/loki/ - https://grafana.com/docs/loki/latest/ type: application -version: 2.0.19 +version: 2.0.20 annotations: truecharts.org/catagories: | - metrics