mirror of
https://github.com/placeholder-soft/asdf-plugins.git
synced 2026-03-27 22:47:16 +08:00
* ci: check PR titles with semantic-pr * ci: auto PR workflow deps updates with dependabot * ci: use nodejs 18 for prettier formatting
31 lines
594 B
YAML
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"
|