Skip to content

Commit ffbc818

Browse files
authored
Update CI workflow with permissions and run command
Added permissions for contents read access and updated run command to check versions and file existence.
1 parent 574d100 commit ffbc818

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

‎.github/workflows/devcontainer_ci.yml‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,18 @@ on:
1313
jobs:
1414
build:
1515
runs-on: ubuntu-latest
16+
permissions:
17+
contents: read
1618
steps:
1719
- uses: actions/checkout@v7
1820
with:
1921
persist-credentials: false
2022
- uses: devcontainers/ci@v0.3
2123
with:
2224
push: never
23-
runCmd: "true"
25+
runCmd: >-
26+
bash -n .devcontainer/post_install &&
27+
pre-commit --version &&
28+
ruff --version &&
29+
uv --version &&
30+
test -f .python-version

0 commit comments

Comments
 (0)