mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-02-03 07:49:03 +00:00
ci: Only run chart-releaser after README is updated
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
This commit is contained in:
parent
574f6529c5
commit
a2e26d5a0f
6
.github/workflows/charts-release.yaml
vendored
6
.github/workflows/charts-release.yaml
vendored
@ -88,19 +88,19 @@ jobs:
|
|||||||
uses: stefanzweifel/git-auto-commit-action@v4
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
with:
|
with:
|
||||||
file_pattern: charts/**/
|
file_pattern: charts/**/
|
||||||
commit_message: Auto-update chart README
|
commit_message: "chore: Auto-update chart README"
|
||||||
commit_user_name: k8s-at-home[bot]
|
commit_user_name: k8s-at-home[bot]
|
||||||
commit_user_email: k8s-at-home[bot]@users.noreply.github.com
|
commit_user_email: k8s-at-home[bot]@users.noreply.github.com
|
||||||
commit_author: k8s-at-home[bot] <k8s-at-home[bot]@users.noreply.github.com>
|
commit_author: k8s-at-home[bot] <k8s-at-home[bot]@users.noreply.github.com>
|
||||||
|
|
||||||
- name: Configure Git
|
- name: Configure Git
|
||||||
if: ${{ steps.create-commit.outputs.changes_detected || 'unknown' }}" == "false"
|
if: steps.create-commit.outputs.changes_detected == 'false'
|
||||||
run: |
|
run: |
|
||||||
git config user.name "k8s-at-home[bot]"
|
git config user.name "k8s-at-home[bot]"
|
||||||
git config user.email "k8s-at-home[bot]@users.noreply.github.com"
|
git config user.email "k8s-at-home[bot]@users.noreply.github.com"
|
||||||
|
|
||||||
- name: Run chart-releaser
|
- name: Run chart-releaser
|
||||||
if: ${{ steps.create-commit.outputs.changes_detected || 'unknown' }}" == "false"
|
if: steps.create-commit.outputs.changes_detected == 'false'
|
||||||
uses: helm/chart-releaser-action@v1.2.1
|
uses: helm/chart-releaser-action@v1.2.1
|
||||||
with:
|
with:
|
||||||
charts_dir: charts/*
|
charts_dir: charts/*
|
||||||
|
Loading…
Reference in New Issue
Block a user