Skip to content

Commit 4635ef9

Browse files
Create image-optimization.yml
1 parent c12ff30 commit 4635ef9

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
- name: Image Optimization
2+
# You may pin to the exact commit or the version.
3+
# uses: philspaces/image-optimization@72aa3df54e3bfe2b7ea6c2d99c42c7bbf5bb2b51
4+
uses: philspaces/image-optimization@v1.0.0
5+
with:
6+
# GITHUB_TOKEN or a `repo` scoped Personal Access Token (PAT)
7+
token: # optional, default is ${{ github.token }}
8+
# Relative path under $GITHUB_WORKSPACE to the repository. Defaults to $GITHUB_WORKSPACE.
9+
10+
file: # optional
11+
# The branch to scan when optimizing images.
12+
branch: # optional, default is staging
13+
# The branch to use when committing optimized images.
14+
commit-branch: # optional
15+
# The message to use when committing changes.
16+
commit-message: # optional, default is [image-optimization] automated change
17+
# The committer name and email address in the format `Display Name <email@address.com>`. Defaults to the GitHub Actions bot user.
18+
19+
committer: # optional, default is GitHub <noreply@github.com>
20+
# If true, no changes will be made to the repo
21+
dryrun: # optional
22+

0 commit comments

Comments
 (0)