Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f4f2dac

Browse files
author
luzhipeng
committed
feat: actions added
1 parent ba90706 commit f4f2dac

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

.github/calibre/image-actions.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
jpeg:
2+
quality: 80
3+
png:
4+
quality: 80
5+
webp:
6+
quality: 80
7+
ignorePaths:
8+
- "node_modules/**"

.github/stale.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Number of days of inactivity before an issue becomes stale
2+
daysUntilStale: 60
3+
# Number of days of inactivity before a stale issue is closed
4+
daysUntilClose: 7
5+
# Issues with these labels will never be considered stale
6+
exemptLabels:
7+
- pinned
8+
- security
9+
- help wanted
10+
# Label to use when marking an issue as stale
11+
staleLabel: wontfix
12+
# Comment to post when marking an issue as stale. Set to `false` to disable
13+
markComment: >
14+
This issue has been automatically marked as stale because it has not had
15+
recent activity. It will be closed if no further activity occurs. Thank you
16+
for your contributions.
17+
# Comment to post when closing a stale issue. Set to `false` to disable
18+
closeComment: false
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Compress images
2+
on: pull_request
3+
jobs:
4+
build:
5+
name: calibreapp/image-actions
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@master
9+
- name: calibreapp/image-actions
10+
uses: docker://calibreapp/github-image-actions
11+
env:
12+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)