{"repo":"namoscato/action-tinify","free":true,"listed":false,"github":"https://github.com/namoscato/action-tinify","clone":"git clone https://github.com/namoscato/action-tinify.git","description":"GitHub Action to compress and resize images with the Tinify API","language":"TypeScript","stars":44,"topics":["github-actions","tinify","tinypng","tinyjpg","compression","optimization","image"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Tinify Image Action GitHub Action to compress and resize images with the Tinify API. Features - filters PNG, JPEG, and WebP files in a commit or pull request - optionally scales images proportionally - sets Exif metadata to prevent duplicate compressions - pushes commit with compression metrics Usage For example, on pull request events with modified files inside the static directory: Events The following webhook events are supported: - pull request - push [!IMPORTANT] In pull request contexts, actions/checkout checkouts a merge commit by default. You must checkout the pull request HEAD commit by overriding the ref input as illustrated above and as noted in their documentation. Commit Behavior Events triggered by a default GITHUB TOKEN commit will not create a new workflow run to prevent accidental recursion. If you are sure that you want the compression commit to trigger a workflow run, you can configure actions/checkout with a personal access token: Inputs input description ------------------- -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- api key Required Tinify API key (create one here) github token Repository GITHUB TOKEN or personal access token secret; defaults to github.token commit user name Git user.name, defaults to github.actor commit user email Git user.email, defaults to @users.noreply.github.com commit message Custom commit message, default","default_branch":null,"files":null,"tree":[],"storefront":"/r/namoscato","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/namoscato/action-tinify/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}