From 7ed3d9422c240cabdbfeb57d30bb96d73178f248 Mon Sep 17 00:00:00 2001 From: Mendes Hugo Date: Thu, 25 Jan 2024 20:23:46 +0100 Subject: [PATCH] chore: correct prettier CI --- .github/workflows/prettier-update.yml | 5 +++-- .github/workflows/reusable-ci.yml | 7 ------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/prettier-update.yml b/.github/workflows/prettier-update.yml index 58d460ba..36c9c01f 100644 --- a/.github/workflows/prettier-update.yml +++ b/.github/workflows/prettier-update.yml @@ -44,11 +44,12 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - npm run lint:fix + npm ci + npx nx run-many --target=lint --fix # Commit all the changes to the PR (see note on not being able to use secrets.GITHUB_TOKEN for this) git config user.name "heap-code[bot]" - git config user.email "${{ vars.HC_BOT }}@users.noreply.github.com" + git config user.email "heap-code-bot@users.noreply.github.com" git remote set-url origin https://x-access-token:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY.git # If the status is empty, there are no uncommitted changes diff --git a/.github/workflows/reusable-ci.yml b/.github/workflows/reusable-ci.yml index e3a6392c..b4437c7e 100644 --- a/.github/workflows/reusable-ci.yml +++ b/.github/workflows/reusable-ci.yml @@ -123,10 +123,3 @@ jobs: name: cypress-logs path: dist/cypress/apps/frontend-e2e/ retention-days: 7 - - # to put everything together - checks: - runs-on: ubuntu-latest - needs: [check_simple, check_lint, check_build, check_tests, check_tests_e2e] - steps: - - run: echo OK