diff --git a/.github/workflows/diff_protobin.yml b/.github/workflows/diff_protobin.yml index 78dee1e0..c5aab47b 100644 --- a/.github/workflows/diff_protobin.yml +++ b/.github/workflows/diff_protobin.yml @@ -4,6 +4,7 @@ on: pull_request_target: paths: - '**/*.bin' + - '**/*.guildpoint' jobs: custom-diff: runs-on: ubuntu-latest @@ -23,7 +24,7 @@ jobs: - name: Get Filenames run: | - for file in $(git diff --name-only origin/${{ github.base_ref }} refs/pull/${{ github.event.pull_request.number }}/head | grep '.bin$'); do + for file in $(git diff --name-only origin/${{ github.base_ref }} refs/pull/${{ github.event.pull_request.number }}/head | grep -E '.bin$|.guildpoint$'); do mkdir -p $(dirname "$file") if [ -n "$(git ls-tree "origin/${{ github.base_ref }}" -- "$file")" ]; then git show origin/${{ github.base_ref }}:$file > $file._old