From 756616794440ec8390ef84ac3cc4790314526cac 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 23809a1a..8cda3cdf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -51,6 +51,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: