manifest-resource-summary.yml 919 B

123456789101112131415161718192021222324252627282930313233
  1. name: Manifest Resource Summary
  2. on:
  3. workflow_dispatch:
  4. jobs:
  5. manifest-summary:
  6. runs-on: ubuntu-latest
  7. steps:
  8. - name: Checkout (for summary upload)
  9. uses: actions/checkout@v4
  10. - name: Install requirements
  11. run: sudo apt-get update && sudo apt-get install -y python3 python3-pip
  12. - name: Download and summarize manifests
  13. run: |
  14. python3 .github/scripts/manifest_resource_summary.py
  15. # No env needed; script discovers manifests from kernel config files
  16. - name: Upload summary
  17. if: always()
  18. run: |
  19. cat manifest_resource_summary.md
  20. shell: bash
  21. continue-on-error: true
  22. id: summary
  23. - name: Add summary to GitHub Actions
  24. if: always()
  25. run: |
  26. echo "## Manifest Resource Summary" >> $GITHUB_STEP_SUMMARY
  27. cat manifest_resource_summary.md >> $GITHUB_STEP_SUMMARY