From bd09ed21d59e1d2fe184785a0ef7048882242147 Mon Sep 17 00:00:00 2001 From: Tommy Skaug Date: Mon, 11 Nov 2024 20:11:38 +0100 Subject: [PATCH] chore: rename jobs for better readability in Forgejo --- .forgejo/workflows/validate-charts.yaml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.forgejo/workflows/validate-charts.yaml b/.forgejo/workflows/validate-charts.yaml index 25b7ef3..70b9569 100644 --- a/.forgejo/workflows/validate-charts.yaml +++ b/.forgejo/workflows/validate-charts.yaml @@ -1,4 +1,4 @@ -name: Chart Validation +name: Validate Chart on: pull_request: paths: @@ -34,7 +34,7 @@ jobs: changesExist: ${{ env.changesExist }} validate-linting: - name: "Validate: Linting" + name: "Lint" needs: charts-changed if: needs.charts-changed.outputs.changesExist == 'true' runs-on: flakes-action @@ -43,9 +43,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - - name: Linting Changed Repositories - run: | + - run: | repos='${{ needs.charts-changed.outputs.reposChanged }}' for repo in $(echo $repos | jq -r '.[]'); do echo "Linting $repo" @@ -53,7 +51,7 @@ jobs: done validate-audit: - name: "Validate: Audit" + name: "Audit" needs: charts-changed if: needs.charts-changed.outputs.changesExist == 'true' runs-on: flakes-action @@ -62,8 +60,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Auditing changed charts - run: | + - run: | repos='${{ needs.charts-changed.outputs.reposChanged }}' for repo in $(echo $repos | jq -r '.[]'); do echo "Auditing $repo" @@ -75,7 +72,7 @@ jobs: done validate-api: - name: "Validate: Outdated APIs" + name: "Outdated APIs" needs: charts-changed if: needs.charts-changed.outputs.changesExist == 'true' runs-on: flakes-action @@ -84,8 +81,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Checking changed charts for outdated APIs - run: | + - run: | repos='${{ needs.charts-changed.outputs.reposChanged }}' for repo in $(echo $repos | jq -r '.[]'); do echo "Checking deprecated apiVersions for $repo"