Skip to content

[Vanilla Fix] Fixed incorrect shadow rendering positions for non-Aircraft units with Locomotor=Fly, and for Aircraft units being dragged by warheads with IsLocomotor=yes #10434

[Vanilla Fix] Fixed incorrect shadow rendering positions for non-Aircraft units with Locomotor=Fly, and for Aircraft units being dragged by warheads with IsLocomotor=yes

[Vanilla Fix] Fixed incorrect shadow rendering positions for non-Aircraft units with Locomotor=Fly, and for Aircraft units being dragged by warheads with IsLocomotor=yes #10434

Workflow file for this run

name: Pull Request Check
on:
pull_request:
types:
- opened
- reopened
- synchronize
- labeled
- unlabeled
env:
BASE_BRANCH: ${{ github.event.pull_request.base.ref }}
jobs:
Changelog-Check:
name: Changelog Mention
# If the No Documentation Needed label is set, then workflow will not be executed
if: ${{ !contains(github.event.pull_request.labels.*.name, 'No Documentation Needed') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Check that Changelog has been updated
run: |
# Check that Changelog has been updated
if (git diff --name-only $(git merge-base origin/$BASE_BRANCH HEAD) | grep ^docs/Whats-New.md$)
then
echo "Thank you for remembering to update the Changelog! 😋"
exit 0
else
echo "It looks like you forgot to update the Changelog! 🧐"
echo "Please, mention your changes in 'docs/Whats-New.md' or use [No Documentation Needed] label for your Pull Request."
exit 1
fi
Credits-Check:
name: Credits List Mention
# If the No Documentation Needed or Bugfix label is set, then workflow will not be executed
if: ${{ !contains(github.event.pull_request.labels.*.name, 'No Documentation Needed') && !contains(github.event.pull_request.labels.*.name, 'Bugfix') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Check that Credits List has been updated
run: |
# Check that Credits List has been updated
if (git diff --name-only $(git merge-base origin/$BASE_BRANCH HEAD) | grep ^CREDITS.md$)
then
echo "Thank you for remembering to update the Credits List! 😋"
exit 0
else
echo "It looks like you forgot to update the Credits List! 🧐"
echo "Please, mention your contribution in 'CREDITS.md' or use [No Documentation Needed] label for your Pull Request."
exit 1
fi
Documentation-Check:
name: Documentation for Changes
# If the No Documentation Needed or Bugfix label is set, then workflow will not be executed
if: ${{ !contains(github.event.pull_request.labels.*.name, 'No Documentation Needed') && !contains(github.event.pull_request.labels.*.name, 'Bugfix') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Check that Documentation has been updated
run: |
# Check that Documentation has been updated
if (git diff --name-only $(git merge-base origin/$BASE_BRANCH HEAD) | \
grep \
-e ^docs/New-or-Enhanced-Logics.md$ \
-e ^docs/Fixed-or-Improved-Logics.md$ \
-e ^docs/AI-Scripting-and-Mapping.md$ \
-e ^docs/User-Interface.md$ \
-e ^docs/Interoperability.md$ \
-e ^docs/Miscellanous.md$ \
)
then
echo "Thank you for remembering to add your changes to the docs! 😋"
exit 0
else
echo "It looks like you forgot to add your changes to the docs! 🧐"
echo "Please, document your changes or use [No Documentation Needed] label for your Pull Request."
exit 1
fi
Interop-Version-Check:
name: Interop API Version Updated
# If the No Documentation Needed label is set, then workflow will not be executed
if: ${{ !contains(github.event.pull_request.labels.*.name, 'No Documentation Needed') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Check that Interop API version is updated
run: |
# Check if any files in src/Interop/ were modified (excluding Version.h itself for initial checks)
CHANGED_FILES=$(git diff --name-only $(git merge-base origin/$BASE_BRANCH HEAD))
INTEROP_MODIFIED=$(echo "$CHANGED_FILES" | grep -E "^src/Interop/.*\.(h|cpp)$" | grep -v "^src/Interop/Version\." || true)
if [ -z "$INTEROP_MODIFIED" ]; then
echo "No Interop files modified. Skipping version check."
exit 0
fi
# If Interop files were modified, check if Version.h was also modified
if echo "$CHANGED_FILES" | grep -q "^src/Interop/Version\.h$"; then
echo "Thank you for updating the Interop API version! 😋"
exit 0
else
echo "You modified Interop API but forgot to update the version! 🧐"
echo "Please update the version constants in 'src/Interop/Version.h' according to Semantic Versioning."
echo "See .github/copilot-instructions.md for version bumping guidelines."
exit 1
fi