Skip to content

Commit 222bedc

Browse files
authored
ci: add image compression workflow (#35)
* ci: add image compression workflow * Optimised images with calibre/image-actions
1 parent a58c7b7 commit 222bedc

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Compress Images
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- '**.png'
7+
8+
jobs:
9+
compress:
10+
# Only run on Pull Requests within the same repository, and not from forks.
11+
if: github.event.pull_request.head.repo.full_name == github.repository
12+
name: calibreapp/image-actions
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Compress Images
17+
uses: calibreapp/image-actions@main
18+
with:
19+
githubToken: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The only feature until now is syntax highlighting.
1010
Launch the command palette (`ctrl+P`) and run `ext install serkonda7.vscode-vba`.
1111

1212
## Contributing
13-
Any contributions like bug reports, code, tests or documentation are appreciated!
13+
Any contributions are highly appreciated!
1414
For details see [CONTRIBUTING.md](CONTRIBUTING.md).
1515

1616
## License

images/icon_256x256.png

-21.2 KB
Loading

0 commit comments

Comments
 (0)