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

Commit f3c2ad8

Browse files
author
Holger Lösken
committed
Normalzing
1 parent a12bd79 commit f3c2ad8

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: normalize composer.json
2+
3+
on:
4+
push:
5+
paths:
6+
- 'src/php/composer.json'
7+
8+
jobs:
9+
normalize:
10+
timeout-minutes: 1
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Git checkout
14+
uses: actions/checkout@v2
15+
16+
- name: Validate Composer configuration
17+
run: composer validate --strict
18+
19+
- name: Normalize composer.json
20+
run: |
21+
composer global require ergebnis/composer-normalize
22+
composer normalize --indent-style=space --indent-size=4 --no-check-lock --no-update-lock --no-interaction --ansi
23+
24+
- uses: stefanzweifel/[email protected]
25+
with:
26+
commit_message: normalize composer.json
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: normalize markdown
2+
3+
on:
4+
push:
5+
paths:
6+
- '*.md'
7+
8+
jobs:
9+
normalize:
10+
timeout-minutes: 1
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Git checkout
14+
uses: actions/checkout@v2
15+
16+
- name: Prettify markdown
17+
uses: creyD/[email protected]
18+
with:
19+
prettier_options: --write **/*.md

0 commit comments

Comments
 (0)