chore(deps): update quay.io/konflux-ci/konflux-ui docker digest to 148bdca #57
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check for README updates | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
merge_group: | |
types: [checks_requested] | |
jobs: | |
check-toc: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Verify ToC | |
run: | | |
find . -name "*.md" | while read -r file; do | |
npx markdown-toc $file -i | |
done | |
if [[ $(git status --porcelain) ]]; then | |
echo ERROR: "Did you forget to update markdowns table of contents?" >&2 | |
echo ERROR: "Check CONTRIBUTING.md for instructions and update your PR" >&2 | |
git diff >&2 | |
exit 1 | |
fi | |
echo "Markdowns table of contents are up to date" >&2 |