Skip to content

Commit e1b2d1f

Browse files
committed
chore: move config
1 parent e4d3ec0 commit e1b2d1f

File tree

3 files changed

+26
-8
lines changed

3 files changed

+26
-8
lines changed

.github/svgo-action-config.yml

-5
This file was deleted.

.github/workflows/svgo.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@ on:
66

77
jobs:
88
build:
9-
name: ericcornelissen/svgo-action
9+
name: Process SVGs
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
1312
- uses: ericcornelissen/[email protected]
1413
with:
1514
repo-token: ${{ secrets.GITHUB_TOKEN }}
16-
configuration-path: .github/svgo-action-config.yml
15+
svgo-options: .github/svgo-options.yml
16+
comment: true
17+
commit:
18+
title: "chore: process svgs"
19+
body: performed by SVGO GitHub Action

.svgo.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Optimize SVGs
2+
on:
3+
pull_request:
4+
paths:
5+
- "**.svg"
6+
7+
jobs:
8+
build:
9+
name: ericcornelissen/svgo-action
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: ericcornelissen/[email protected]
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
svgo-options: .github/svgo-options.yml
17+
comment: true
18+
commit:
19+
title: "chore: process svgs"
20+
body: performed by SVGO GitHub Action

0 commit comments

Comments
 (0)