diff --git a/.github/workflows/canopeum_backend_pr_validation.yml b/.github/workflows/canopeum_backend_pr_validation.yml index 129ca9243..874f545c3 100644 --- a/.github/workflows/canopeum_backend_pr_validation.yml +++ b/.github/workflows/canopeum_backend_pr_validation.yml @@ -77,3 +77,9 @@ jobs: - uses: astral-sh/ruff-action@v1 with: args: format + # Format even on lint failure + if: always() + - name: Commit autofixes + uses: EndBug/add-and-commit@v9 + # Push autofixes even on failure + if: always() diff --git a/.github/workflows/canopeum_frontend_pr_validation.yml b/.github/workflows/canopeum_frontend_pr_validation.yml index 2f4fa4c6b..4a302181a 100644 --- a/.github/workflows/canopeum_frontend_pr_validation.yml +++ b/.github/workflows/canopeum_frontend_pr_validation.yml @@ -26,8 +26,10 @@ jobs: - uses: actions/setup-node@v4 - run: npm ci - run: npm run lint:fix - - name: Commit changes + - name: Commit autofixes uses: EndBug/add-and-commit@v9 + # Push autofixes even on failure + if: always() Build: runs-on: ubuntu-latest defaults: