Skip to content
This repository was archived by the owner on Aug 26, 2026. It is now read-only.

Lock file maintenance #138

Lock file maintenance

Lock file maintenance #138

Workflow file for this run

name: Format and Lint
on:
push:
branches:
- master
- develop
workflow_dispatch: # Allow manual trigger
permissions:
contents: write
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
format-and-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup Node.js
uses: actions/setup-node@v7
with:
node-version: "25.9.0"
- name: Install dependencies
run: npm ci
- name: Run format
run: npm run format
- name: Run lint:fix
run: npm run lint:fix
- name: Check for changes
id: git-check
run: |
git diff --exit-code || echo "changes=true" >> $GITHUB_OUTPUT
- name: Create Pull Request
if: steps.git-check.outputs.changes == 'true'
uses: peter-evans/create-pull-request@v8
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "chore: auto-format and lint fixes"
title: "chore: auto-format and lint fixes"
body: |
This PR contains automatic formatting and linting fixes.
branch: maintenance/auto-format-lint
delete-branch: true