feat(utils): implement custom logger with groups and tasks #2082
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Code PushUp - Standalone Mode (fork) | |
| # separated from code-pushup.yml for security reasons | |
| # => requires permissions to create PR comment | |
| # => for PRs from forks, needs to run on `pull_request_target`, not `pull_request` | |
| # => `pull_request_target` is a security risk when secrets are being used | |
| # => secrets needed for code-pushup upload | |
| # => code-pushup for forks runs in separate workflow with no secrets access | |
| on: | |
| pull_request_target: | |
| branches: [main] | |
| env: | |
| NX_NON_NATIVE_HASHER: true | |
| permissions: | |
| pull-requests: write | |
| jobs: | |
| code-pushup: | |
| runs-on: ubuntu-latest | |
| name: Run Code PushUp (fork) | |
| if: github.event.pull_request.head.repo.fork | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .node-version | |
| cache: npm | |
| - name: Set base and head for Nx affected commands | |
| uses: nrwl/nx-set-shas@v4 | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run Code PushUp action | |
| uses: ./.github/actions/code-pushup | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} |