Resolve non-noreply co-author emails in verifyPeerReview #93
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: Oxfmt | |
| on: | |
| workflow_call: | |
| pull_request: | |
| types: [opened, synchronize] | |
| paths: | |
| - '**/*.[tj]s' | |
| - '**/*.?[tj]s' | |
| - '**.yml' | |
| - '**.yaml' | |
| - '.oxfmtrc.json' | |
| - 'package.json' | |
| - 'package-lock.json' | |
| - '.nvmrc' | |
| - '.npmrc' | |
| - '.github/workflows/oxfmt.yml' | |
| jobs: | |
| oxfmt: | |
| if: ${{ github.actor != 'OSBotify' || github.event_name == 'workflow_call' }} | |
| runs-on: blacksmith-2vcpu-ubuntu-2404 | |
| steps: | |
| - name: Checkout | |
| # v7 | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | |
| - name: Setup Node | |
| # v6.4.0 | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e | |
| with: | |
| node-version-file: .nvmrc | |
| cache: npm | |
| cache-dependency-path: package-lock.json | |
| - name: Install npm packages | |
| run: npm ci | |
| - name: Check formatting with Oxfmt | |
| run: npx oxfmt --check . | |
| - name: Tell people how to run the failing check | |
| if: failure() | |
| run: echo "::error::The Oxfmt check failed! Run \`npm run fmt\` from the GitHub-Actions repo root and commit the changes." |