feat(agentsh): add agentsh execution-layer security Dev Container Feature #8
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: "Validate Dev Container Features" | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "src/**/devcontainer-feature.json" | |
| - "src/**/README.md" | |
| - "README.md" | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Validate features | |
| uses: devcontainers/action@v1 | |
| with: | |
| validate-only: "true" | |
| base-path-to-features: "./src" | |
| - name: Validate agentsh metadata and docs consistency | |
| run: | | |
| test "$(jq -r .id src/agentsh/devcontainer-feature.json)" = "agentsh" | |
| test "$(jq -r .version src/agentsh/devcontainer-feature.json)" = "0.1.0" | |
| grep -q "ghcr.io/get2knowio/devcontainer-features/agentsh" README.md | |
| grep -q "ghcr.io/get2knowio/devcontainer-features/agentsh:0.1.0" src/agentsh/README.md | |
| grep -q "0.20.2" src/agentsh/README.md |