Skip to content

Commit 80a5e27

Browse files
committed
Add job summary to point to contributing.md
Signed-off-by: Marco Franssen <[email protected]>
1 parent f8addce commit 80a5e27

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/test.yml

+12
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,18 @@ jobs:
6161
run: ../../.github/helm-docs.sh .
6262
working-directory: ${{ matrix.chart }}
6363

64+
- name: Print job summary
65+
if: failure()
66+
run: |
67+
echo '### Linting summary:' >> $GITHUB_STEP_SUMMARY
68+
echo '' >> $GITHUB_STEP_SUMMARY
69+
echo 'Please check our CONTRIBUTING.md sections:' >> $GITHUB_STEP_SUMMARY
70+
echo '' >> $GITHUB_STEP_SUMMARY
71+
echo "- [Bumping helm chart dependencies](${REPO_URL}/blob/main/CONTRIBUTING.md#bumping-helm-chart-dependencies)" >> $GITHUB_STEP_SUMMARY
72+
echo "- [Generating documentation](${REPO_URL}/blob/main/CONTRIBUTING.md#generating-documentation)" >> $GITHUB_STEP_SUMMARY
73+
env:
74+
REPO_URL: github.com/${{ github.repository }}
75+
6476
test:
6577
runs-on: ubuntu-latest
6678
steps:

0 commit comments

Comments
 (0)