Skip to content

Commit e2a6819

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

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
@@ -51,6 +51,18 @@ jobs:
5151
run: .github/helm-docs.sh .
5252
working-directory: ${{ matrix.chart }}
5353

54+
- name: Print job summary
55+
if: failure()
56+
run: |
57+
echo '### Linting summary:' >> $GITHUB_STEP_SUMMARY
58+
echo '' >> $GITHUB_STEP_SUMMARY
59+
echo 'Please check our CONTRIBUTING.md sections:' >> $GITHUB_STEP_SUMMARY
60+
echo '' >> $GITHUB_STEP_SUMMARY
61+
echo "- [Bumping helm chart dependencies](${REPO_URL}/blob/main/CONTRIBUTING.md#bumping-helm-chart-dependencies)" >> $GITHUB_STEP_SUMMARY
62+
echo "- [Generating documentation](${REPO_URL}/blob/main/CONTRIBUTING.md#generating-documentation)" >> $GITHUB_STEP_SUMMARY
63+
env:
64+
REPO_URL: github.com/${{ github.repository }}
65+
5466
test:
5567
runs-on: ubuntu-latest
5668
steps:

0 commit comments

Comments
 (0)