un-skip jobs for testing

This commit is contained in:
Markus Unterwaditzer
2025-06-19 23:37:28 +02:00
committed by Cooper Quintin
parent 0f98b05475
commit a17e255148

View File

@@ -34,7 +34,9 @@ jobs:
id: files_changed
run: |
lcommit=${{ github.event.pull_request.base.sha || 'origin/main' }}
if [ ${{ github.ref }} = 'refs/heads/main' ]
# If we are on main, or if these workflow files are being changed, run everything
if [ ${{ github.ref }} = 'refs/heads/main' ] || git diff --name-only $lcommit..HEAD | grep -qe ^.github/workflows/
then
echo "building everything"
echo code_count=forced >> "$GITHUB_OUTPUT"