Revert "github actions only fire when it's meaningful to do so" (#95059)

## Why lemon why

Reverts #94989
We've been seeing silent failures in collect_data since this pr was
merged, and jls does not currently have the time to debug this.
Since the upside of the pr was so minimal (effectively just allowing jls
to more efficiently do their work), and we're seeing what is
functionally random ci failures, we're doing this as a stopgap.
This commit is contained in:
LemonInTheDark
2026-02-01 14:50:13 -05:00
committed by GitHub
parent cdc1cbb594
commit 8f330fe5af
3 changed files with 3 additions and 20 deletions
+2 -5
View File
@@ -33,7 +33,6 @@ jobs:
uses: ./.github/workflows/collect_data.yml
compile_all_maps:
if: needs.collect_data.outputs.game_changes == 'true'
name: Compile Maps
needs: collect_data
uses: ./.github/workflows/compile_all_maps.yml
@@ -41,7 +40,6 @@ jobs:
max_required_byond_client: ${{ needs.collect_data.outputs.max_required_byond_client }}
setup_build_artifacts:
if: needs.collect_data.outputs.game_changes == 'true'
name: Setup build artifacts
needs: collect_data
uses: ./.github/workflows/setup_build_artifacts.yml
@@ -49,7 +47,6 @@ jobs:
build_versions: ${{ needs.collect_data.outputs.required_build_versions }}
run_all_tests:
if: needs.collect_data.outputs.game_changes == 'true'
name: Integration Tests
needs: [collect_data, setup_build_artifacts]
uses: ./.github/workflows/perform_regular_version_tests.yml
@@ -58,7 +55,7 @@ jobs:
max_required_byond_client: ${{ needs.collect_data.outputs.max_required_byond_client }}
run_alternate_tests:
if: (needs.collect_data.outputs.game_changes == 'true') && (needs.collect_data.outputs.alternate_tests != '[]')
if: needs.collect_data.outputs.alternate_tests != '[]'
name: Alternate Tests
needs: [collect_data, setup_build_artifacts]
uses: ./.github/workflows/perform_alternate_version_tests.yml
@@ -89,4 +86,4 @@ jobs:
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
allowed-skips: compare_screenshots,compile_all_maps,run_all_tests,run_alternate_tests
allowed-skips: compare_screenshots
-14
View File
@@ -15,9 +15,6 @@ on:
required_build_versions:
description: "Build versions that need to be precompiled"
value: ${{ jobs.collect_data.outputs.required_build_versions }}
game_changes:
description: "Whether game files were changed"
value: ${{ jobs.collect_data.outputs.game_changes }}
jobs:
collect_data:
@@ -28,7 +25,6 @@ jobs:
alternate_tests: ${{ steps.alternate_test_finder.outputs.alternate_tests }}
max_required_byond_client: ${{ steps.max_required_byond_client.outputs.max_required_byond_client }}
required_build_versions: ${{ steps.setup_required_build_versions.outputs.required_build_versions }}
game_changes: ${{ steps.find_game_changes.outputs.all_changed_files != '' }}
steps:
- uses: actions/checkout@v6
@@ -70,13 +66,3 @@ jobs:
($alternate + $default) | map({major, minor}) | unique
')
echo "required_build_versions=$REQUIRED_BUILD_VERSIONS" >> $GITHUB_OUTPUT
- name: Find game changes
id: find_game_changes
uses: tj-actions/changed-files@v47
with:
fetch_depth: 0
files_ignore: |
**/*.md
html/**
tgui/**
+1 -1
View File
@@ -14,7 +14,7 @@
"editor.formatOnSave": true,
"editor.rulers": [80]
},
"[yaml][markdown][html][scss][github-actions-workflow]": {
"[yaml][markdown][html][scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.rulers": [80]