Skip to content

Resolve non-noreply co-author emails in verifyPeerReview #93

Resolve non-noreply co-author emails in verifyPeerReview

Resolve non-noreply co-author emails in verifyPeerReview #93

Workflow file for this run

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."