Files @ r28810:dd35d3d734ac
Branch filter:

Location: cpp/openttd-patchpack/source/.github/workflows/script-missing-mode-enforcement.yml

Peter Nelson
Fix d3c673e: Don't defer OnResize() after ReInit() (#12174)

Some windows resize themselves during painting and issue ReInit(). In this case deferred OnResize() causes a visible glitch as the event is handled on the next redraw.
name: Script missing mode enforcement

on:
  pull_request:

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

jobs:
  script-missing-mode-enforcement:
    name: Script missing mode enforcement
    runs-on: ubuntu-latest

    steps:
    - name: Checkout
      uses: actions/checkout@v4

    - name: Check for finding script functions that require company/deity mode enforcement/checks
      run: |
        set -ex
        python3 .github/script-missing-mode-enforcement.py