mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-10-31 15:20:10 +00:00
23 lines
549 B
YAML
23 lines
549 B
YAML
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@v3
|
|
|
|
- name: Check for finding script functions that require company/deity mode enforcement/checks
|
|
run: |
|
|
set -ex
|
|
python3 .github/script-missing-mode-enforcement.py
|