diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8c22ea9..e9d269b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -64,3 +64,18 @@ jobs: name: lint-results path: lint-results.json retention-days: 30 + + lint-success: + name: Lint Check Status + runs-on: ubuntu-latest + needs: lint + if: always() + steps: + - name: Check lint status + run: | + if [ "${{ needs.lint.result }}" == "failure" ]; then + echo "❌ Linting failed. Please fix the issues before merging." + exit 1 + else + echo "✅ Linting passed successfully!" + fi