ci: fail if .gsd/ directory is checked in
This commit is contained in:
parent
6aaace9838
commit
6cf0df1bb2
1 changed files with 11 additions and 0 deletions
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
|
@ -7,6 +7,17 @@ on:
|
|||
branches: [main]
|
||||
|
||||
jobs:
|
||||
no-gsd-dir:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- name: Ensure .gsd/ is not checked in
|
||||
run: |
|
||||
if [ -d ".gsd" ]; then
|
||||
echo "::error::.gsd/ directory must not be checked in"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue