Skip to content

ci: name jobs for ease of use for branch rule enforcement #95

ci: name jobs for ease of use for branch rule enforcement

ci: name jobs for ease of use for branch rule enforcement #95

Workflow file for this run

name: Format
on: [pull_request]
jobs:
autocorrect:
runs-on: ubuntu-latest
timeout-minutes: 1
# Only run on PRs from non-forks
if: github.event.pull_request.head.repo.full_name == github.repository
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn install --no-lockfile
- run: yarn fmt
- run: yarn lint --fix
- uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # tag=v5
with:
commit_message: ':robot: Automated formatting fixes'