mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-04 00:15:45 +02:00
new workflow
Checks if maps have been required in control.lua
This commit is contained in:
parent
7d8d532c7b
commit
1e5a3fe7e5
27
.github/workflows/CheckMaps.yml
vendored
Normal file
27
.github/workflows/CheckMaps.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
name: CheckMaps
|
||||||
|
|
||||||
|
# Controls when the action will run. Triggers the workflow on push or pull request
|
||||||
|
# events but only for the develop branch
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [develop]
|
||||||
|
pull_request:
|
||||||
|
branches: [develop]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
name: Check if requestor has made a boo boo
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Factorio Control comment
|
||||||
|
uses: Gerkiz/FactorioControlChecker@v1.0.5
|
||||||
|
id: factorio_control_runner
|
||||||
|
|
||||||
|
- name: Check control.lua
|
||||||
|
if: steps.factorio_control_runner.outputs.should_run == 1
|
||||||
|
run: |
|
||||||
|
echo "Maps are required in control.lua - please fix these."
|
||||||
|
exit 1
|
Loading…
Reference in New Issue
Block a user