Skip to content

Commit

Permalink
Warn via GitHub Actions if OpenXR is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
falko17 committed Aug 15, 2023
1 parent 42a7192 commit 6d77a4b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions GitScripts/check_for_bad_patterns.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,13 @@ def to_json(
level=Level.WARN,
suggestion=r"\1",
),
BadPattern(
re.compile(r"^\s*m_Loaders:(?! \[\])"),
"You must not enable OpenXR on any PR that is planned to be merged, otherwise Linux builds will break!",
filenames=[r".*\.asset$"],
level=Level.ERROR,
see_only=False,
),
]


Expand Down

0 comments on commit 6d77a4b

Please sign in to comment.