added best admin #28
This file contains 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: 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/checkout@v4.1.0 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Setting up Node.js | |
uses: actions/setup-node@v4.0.2 | |
with: | |
node-version: 'v20.12.2' | |
- name: Run prettier | |
run: npx prettier --write people.json | |
- name: Commit the changes | |
uses: EndBug/add-and-commit@v9.1.4 | |
with: | |
add: 'people.json' | |
author_name: 'GitHub Actions' | |
author_email: 'actions@github.com' | |
message: 'prettify people.json' |