mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 19:18:37 +00:00
The export stages write .obj models, .glb chunks, .ogg Opus and .wav PCM straight from the package, but .gitignore and the No Game Data check only named the archive, shader and texture types. A run pointed inside a checkout could leave those untracked and get them staged; the check would also miss a force-added one, along with .r9modeldata and .msixvc that .gitignore already covers. The bvh and navmesh examples also wrote their index reports into the working directory, which puts game-derived JSON and CSV in the tree; point them at <temp> like the movies note does. Verified with git check-ignore on every new pattern and by matching sample filenames against the workflow regex. Docs and ignore rules only. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
33 lines
900 B
YAML
33 lines
900 B
YAML
name: No Game Data
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: no-game-data-${{ github.event_name }}-${{ github.event.pull_request.number || github.run_id }}
|
|
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
no-game-data:
|
|
runs-on: ubuntu-24.04
|
|
timeout-minutes: 5
|
|
permissions:
|
|
contents: read
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
fetch-depth: 1
|
|
- name: No game data tracked
|
|
run: |
|
|
bad=$(git ls-files | grep -iE '\.(rpf|ttpf|xvd|msixvc|dxbc|fssm|spv|spvasm|dds|bk2|awc|r9modeldata|obj|glb|ogg|wav|exe|dll)$' || true)
|
|
if [ -n "$bad" ]; then
|
|
echo "Game or binary files tracked:"
|
|
echo "$bad"
|
|
exit 1
|
|
fi
|