From 90e495f268cb24a7d35258846b017728282ffa0f Mon Sep 17 00:00:00 2001 From: Marco Franssen Date: Wed, 30 Nov 2022 13:24:17 +0100 Subject: [PATCH] Add job summary to point to contributing.md Signed-off-by: Marco Franssen --- .github/workflows/test.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1a396cf2..2570ed50 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -61,6 +61,18 @@ jobs: run: ../../.github/helm-docs.sh . working-directory: ${{ matrix.chart }} + - name: Print job summary + if: failure() + run: | + echo '### Linting summary:' >> $GITHUB_STEP_SUMMARY + echo '' >> $GITHUB_STEP_SUMMARY + echo 'Please check our CONTRIBUTING.md sections:' >> $GITHUB_STEP_SUMMARY + echo '' >> $GITHUB_STEP_SUMMARY + echo "- [Bumping helm chart dependencies](${REPO_URL}/blob/main/CONTRIBUTING.md#bumping-helm-chart-dependencies)" >> $GITHUB_STEP_SUMMARY + echo "- [Generating documentation](${REPO_URL}/blob/main/CONTRIBUTING.md#generating-documentation)" >> $GITHUB_STEP_SUMMARY + env: + REPO_URL: github.com/${{ github.repository }} + test: runs-on: ubuntu-latest steps: