Files
asdf-plugins/.github/workflows/format.yml
James Hegedus 5fe3f5b608 ci: dependabot config & semantic PR titles (#752)
* ci: check PR titles with semantic-pr

* ci: auto PR workflow deps updates with dependabot

* ci: use nodejs 18 for prettier formatting
2023-02-14 00:42:31 +11:00

31 lines
594 B
YAML

name: format
on:
push:
branches:
- master
paths:
- README.md
jobs:
format_readme:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Format README.md
run: npx -y prettier --write README.md
- name: Commit format of README.md
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "chore: format README.md"