Skip to content

Merge pull request #4 from devschile/feature/add-hector #14

Merge pull request #4 from devschile/feature/add-hector

Merge pull request #4 from devschile/feature/add-hector #14

Workflow file for this run

name: Prettify people.json
on:
workflow_dispatch:
pull_request:
push:
paths:
- 'people.json'
jobs:
prettify-json:
runs-on: ubuntu-latest
steps:
- name: Checkout this repository
uses: actions/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setting up Node.js
uses: actions/[email protected]
with:
node-version: 'v20.12.2'
- name: Run prettier
run: npx prettier --write people.json
- name: Commit the changes
uses: EndBug/[email protected]
with:
add: 'people.json'
author_name: 'GitHub Actions'
author_email: '[email protected]'
message: 'prettify people.json'