Fix: kubernetes read import all resources and recover stack ID by nam… #223
This file contains hidden or 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: Docs CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| mdvalidate: | |
| name: Validate Markdown Files | |
| runs-on: ubuntu-latest | |
| env: | |
| GOARCH: amd64 | |
| GOOS: linux | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 1 | |
| - name: Markdown Link Validation | |
| uses: gaurav-nelson/github-action-markdown-link-check@v1 | |
| - name: Docs presence check | |
| run: | | |
| bash scripts/docs-presence-check.sh | tee docs-presence.out | |
| status=${PIPESTATUS[0]} | |
| missing=$(grep -c '\.md$' docs-presence.out || true) | |
| { | |
| echo "## Docs presence check" | |
| echo "" | |
| if [ "$status" -eq 0 ]; then | |
| echo "OK — every resource and data source has a docs page." | |
| else | |
| echo "**Missing docs pages:** $missing" | |
| echo "" | |
| echo '```' | |
| cat docs-presence.out | |
| echo '```' | |
| fi | |
| } >> "$GITHUB_STEP_SUMMARY" | |
| exit $status | |
| - name: Examples presence check | |
| run: | | |
| bash scripts/examples-presence-check.sh | tee examples-presence.out | |
| status=${PIPESTATUS[0]} | |
| { | |
| echo "## Examples presence check" | |
| echo "" | |
| if [ "$status" -eq 0 ]; then | |
| echo "OK — every resource and data source has an example." | |
| else | |
| echo '```' | |
| cat examples-presence.out | |
| echo '```' | |
| fi | |
| } >> "$GITHUB_STEP_SUMMARY" | |
| exit $status |