aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/test-forbidden-ismodloaded.yml
diff options
context:
space:
mode:
authorboubou19 <miisterunknown@gmail.com>2024-09-01 04:49:39 +0200
committerGitHub <noreply@github.com>2024-08-31 22:49:39 -0400
commitf7b56c032947b2fed7d9b521f6f2d221115e08e9 (patch)
tree33a3aa956fe27ebe19692d5e90c54447f5db8f0e /.github/workflows/test-forbidden-ismodloaded.yml
parentb22ab538b762de1fdc83d3a2e45fc21adcab5efd (diff)
downloadGT5-Unofficial-f7b56c032947b2fed7d9b521f6f2d221115e08e9.tar.gz
GT5-Unofficial-f7b56c032947b2fed7d9b521f6f2d221115e08e9.tar.bz2
GT5-Unofficial-f7b56c032947b2fed7d9b521f6f2d221115e08e9.zip
Fix some more gmi calls (#3009)
* strenghten fobidden gmi checks * yeet some hidden gt++ gmi * yeet last gt gmi call * forbidden isModLoaded calls * add other GTNH-I MTE IDs * Spotless apply for branch fix/gmi_calls for #3009 (#3010) spotlessApply Co-authored-by: GitHub GTNH Actions <> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to '.github/workflows/test-forbidden-ismodloaded.yml')
-rw-r--r--.github/workflows/test-forbidden-ismodloaded.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/test-forbidden-ismodloaded.yml b/.github/workflows/test-forbidden-ismodloaded.yml
new file mode 100644
index 0000000000..baeb4515be
--- /dev/null
+++ b/.github/workflows/test-forbidden-ismodloaded.yml
@@ -0,0 +1,18 @@
+name: Forbidden isModLoaded
+
+on:
+ pull_request:
+ branches: [ master, main ]
+ push:
+ branches: [ master, main ]
+
+jobs:
+ test-forbidden-getmoditems:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+ - name: Detect forbidden isModLoaded calls
+ shell: bash
+ run: |
+ ! grep -E -r '(BartWorks|GalactiGreg|GGFab|GoodGenerator|GTNHLanthanides|GregTech|GTPlusPlus|KekzTech|KubaTech|TecTech|NEIOrePlugin)\.isModLoaded' src/main/java