Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] add image compression to GH PR workflows #12381

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 23 additions & 0 deletions .github/workflows/images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Compress Images
on:
pull_request:
paths:
- '.github/workflows/images.yml'
- '**.jpg'
- '**.jpeg'
- '**.png'
- '**.webp'
jobs:
build:
# Only run on Pull Requests within the same repository, and not from forks.
if: github.event.pull_request.head.repo.full_name == github.repository
name: calibreapp/image-actions
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Compress Images
uses: calibreapp/image-actions@main
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
ignorePaths: 'node_modules/**,content/**'
Binary file modified archetypes/blog-post/meta.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified archetypes/learn/module/meta.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified archetypes/learn/topic/meta.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified archetypes/templates/template/architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified archetypes/templates/template/meta.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified archetypes/templates/type/meta.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static-prebuilt/docs/reference/pkg/java/resources/glass.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static-prebuilt/docs/reference/pkg/java/resources/x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/icons/icon-for-enterprises.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/images/ads/daniel-on-demand-infrastructure-square.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/images/ads/dev-kubernetes-code-square.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/images/ads/kubernetes-iac-engin-square.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/images/ads/logo-pulumi-square.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/images/avatars/avatar-purple.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/images/avatars/avatar-salmon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/images/avatars/avatar-yellow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/images/aws-immersion-day.png
Binary file modified static/images/aws-summit-meta.png
Binary file modified static/images/azure-github-ad.png
Binary file modified static/images/case-studies/4ir-designer-screenshot-1.png
Binary file modified static/images/case-studies/4ir-factorystack.png
Binary file modified static/images/case-studies/4ir-multicloud.png
Binary file modified static/images/case-studies/4ir-pulumi-components.png
Binary file modified static/images/case-studies/4ir-react-code-sample.png
Binary file modified static/images/case-studies/bitbucket-cloud-diagram.png
Binary file modified static/images/case-studies/case-studies-logos.png
Binary file modified static/images/case-studies/credijusto-architecture.png
Binary file modified static/images/case-studies/fauna-architecture-diagram.png
Binary file modified static/images/case-studies/greenpark-sports-deploy-diagram.png
Binary file modified static/images/case-studies/learning-machine-architecture.png
Binary file modified static/images/case-studies/learning-machine-loc.png
Binary file modified static/images/case-studies/menta-architecture.png
Binary file modified static/images/case-studies/panther-labs-deployment-rates.png
Binary file modified static/images/case-studies/panther-labs-lines-of-code.png
Binary file modified static/images/case-studies/sans-game-server-diagram.png
Binary file modified static/images/case-studies/unity-gh-diagram.png
Binary file modified static/images/challenge/AIStep1.png
Binary file modified static/images/challenge/AIStep4.png
Binary file modified static/images/challenge/architecture_mern.png
Binary file modified static/images/challenge/challenge-ai-banner.png
Binary file modified static/images/challenge/challenge-ai-meta.png
Binary file modified static/images/challenge/challenge-dec-meta.png
Binary file modified static/images/challenge/challenge_banner.png
Binary file modified static/images/challenge/challenge_cta.png
Binary file modified static/images/challenge/grocery_list.png
Binary file modified static/images/challenge/pulumi-challenge-ad.png
Binary file modified static/images/cloud-eng-summit-2021-meta.png
Binary file modified static/images/cloud-eng-summit-purple.png
Binary file modified static/images/cloud-engineering-days/ced-ad.png
Binary file modified static/images/cloud-engineering-days/ced-hero-final.png
Binary file modified static/images/cloud-engineering-days/ced-hero-no-button.png
Binary file modified static/images/cloud-engineering-days/ced-hero-post-summit.png
Binary file modified static/images/cloud-engineering-days/ced-logo-text.png
Binary file modified static/images/cloud-engineering-days/ced-website-banner.png
Binary file modified static/images/cloud-engineering-days/cloud-eng-days-hero.png
Binary file modified static/images/cloud-engineering-days/customer_banners/fauna.png
Binary file modified static/images/cloud-engineering-days/guests/collin-james.jpg
Binary file modified static/images/cloud-engineering-days/guests/dan-swartz.jpg
Binary file modified static/images/cloud-engineering-days/guests/dennis-webb.jpg
Binary file modified static/images/cloud-engineering-days/guests/jay-smith.jpg
Binary file modified static/images/cloud-engineering-days/guests/jeff-smick.jpg
Binary file modified static/images/cloud-engineering-days/logos/google-cloud.png
Binary file modified static/images/cloud-engineering-days/logos/microsoft.png
Binary file modified static/images/cloud-engineering-summit-ad.png
Binary file modified static/images/cloud-engineering-summit-on-demand-banner.png
Binary file modified static/images/clouddelivery.jpg
Binary file modified static/images/community/puluminaries.png
Binary file modified static/images/deploy-with-pulumi/dark.png
Binary file modified static/images/deploy-with-pulumi/light.png
Binary file modified static/images/deployments-ad.jpg
Binary file modified static/images/docs/ad/drift-ttl-ad.png
Binary file modified static/images/docs/ad/esc-ad.png
Binary file modified static/images/docs/ad/pulumi-ai-ad.png
Binary file modified static/images/docs/ad/pulumi-copilot-ad.png
Binary file modified static/images/docs/brand/aws-pulumi.png
Binary file modified static/images/docs/brand/aws-technology-partner.png
Binary file modified static/images/docs/brand/aws.png
Binary file modified static/images/docs/concepts/environments-editor.png
Binary file modified static/images/docs/concepts/stack-config-tags.png
Binary file modified static/images/docs/examples/favicon.png
Binary file modified static/images/docs/github-actions/pr-comment-actions.png
Binary file modified static/images/docs/github-actions/pr-comment-gh-app.png
Binary file modified static/images/docs/github-app/checks-detail.png
Binary file modified static/images/docs/github-app/checks.png
Binary file modified static/images/docs/github-app/deploy-actions.png
Binary file modified static/images/docs/github-app/gha-enterprise-server-install.png
Binary file modified static/images/docs/github-app/gha-install.png
Binary file modified static/images/docs/github-app/gha-installed.png
Binary file modified static/images/docs/github-app/installation.png
Binary file modified static/images/docs/github-app/landing-page.png
Binary file modified static/images/docs/github-app/org-configuration.png
Binary file modified static/images/docs/github-app/pr-comment.png
Binary file modified static/images/docs/guides/crossguard/config-dialog.jpg
Binary file modified static/images/docs/guides/crossguard/enable-policy-pack.jpg
Binary file modified static/images/docs/guides/crossguard/stack-policies.jpg
Binary file modified static/images/docs/guides/self-hosted/auditlogs.png
Binary file modified static/images/docs/k8s-the-prod-way/app.png
Binary file modified static/images/docs/k8s-the-prod-way/identity.png
Binary file modified static/images/docs/k8s-the-prod-way/infrastructure.png
Binary file modified static/images/docs/k8s-the-prod-way/kube-arch.png
Binary file modified static/images/docs/meta-images/docs-clouds-aws-meta-image.png
Binary file modified static/images/docs/meta-images/docs-meta.png
Binary file modified static/images/docs/pulumi-cloud/mfa/mfa-enroll.png
Binary file modified static/images/docs/pulumi-cloud/mfa/mfa-qr.png
Binary file modified static/images/docs/pulumi-cloud/mfa/mfa-recovery.png
Binary file modified static/images/docs/quickstart/cloudfx-purple.png
Binary file modified static/images/docs/quickstart/console.png
Binary file modified static/images/docs/quickstart/hello/Quickstart1.png
Binary file modified static/images/docs/quickstart/hello/Quickstart2.png
Binary file modified static/images/docs/quickstart/hello/Quickstart3.png
Binary file modified static/images/docs/quickstart/hello/Quickstart4.png
Binary file modified static/images/docs/quickstart/hello/Quickstart5.png
Binary file modified static/images/docs/quickstart/hello/Quickstart6.png
Binary file modified static/images/docs/quickstart/kubernetes/guestbook.png
Binary file modified static/images/docs/quickstart/kubernetes/k8s-helm-release.png
Binary file modified static/images/docs/quickstart/kubernetes/preview.png
Binary file modified static/images/docs/quickstart/kubernetes/questions.png
Binary file modified static/images/docs/quickstart/s3-website.png
Binary file modified static/images/docs/quickstart/video-thumbnail-diagram.png
Binary file modified static/images/docs/quickstart/voting-app-webpage.png
Binary file modified static/images/docs/quickstart/vscode-dotnet.png
Binary file modified static/images/docs/reference/automation-api.png
Binary file modified static/images/docs/reference/codefresh/pulumi-pipeline.png
Binary file modified static/images/docs/reference/console/add-workflow.png
Binary file modified static/images/docs/reference/console/ale-menu.png
Binary file modified static/images/docs/reference/console/ale-success.png
Binary file modified static/images/docs/reference/console/pulumi-access-token.png
Binary file modified static/images/docs/reference/console/test-ale-configuration.png
Binary file modified static/images/docs/reference/crosswalk/aws/arch.png
Binary file modified static/images/docs/reference/engine-block-diagram.png
Binary file modified static/images/docs/reference/gh-actions-checks.png
Binary file modified static/images/docs/reference/gh-actions-editor-configure.png
Binary file modified static/images/docs/reference/gh-actions-editor-create.png
Binary file modified static/images/docs/reference/gh-actions-editor-edit.png
Binary file modified static/images/docs/reference/gh-actions-editor-newfile.png
Binary file modified static/images/docs/reference/gh-actions-editor-secrets.png
Binary file modified static/images/docs/reference/gh-actions-editor-tab.png
Binary file modified static/images/docs/reference/gh-actions-editor-visual.png
Binary file modified static/images/docs/reference/gh-actions-logs.png
Binary file modified static/images/docs/reference/gh-actions-prs.png
Binary file modified static/images/docs/reference/gh-actions-secrets.png
Binary file modified static/images/docs/reference/jenkins/global-tool-config.png
Binary file modified static/images/docs/reference/jenkins/project-params.png
Binary file modified static/images/docs/reference/kubernetes/remove-ng-2xlarge.png
Binary file modified static/images/docs/reference/object-lifetimes-diagram.png
Binary file modified static/images/docs/reference/pkg-arch-layers.png
Binary file modified static/images/docs/reference/service/access-tokens.png
Binary file modified static/images/docs/reference/service/copilot-use-cases.png
Binary file modified static/images/docs/reference/service/copilot.png
Binary file modified static/images/docs/reference/service/new-project.png
Binary file modified static/images/docs/reference/service/new-team-card.png
Binary file modified static/images/docs/reference/service/org-settings-card.png
Binary file modified static/images/docs/reference/service/organization-stacks.png
Binary file modified static/images/docs/reference/service/organization-view.png
Binary file modified static/images/docs/reference/service/resource-changes.png
Binary file modified static/images/docs/reference/service/saml-aad/download-xml.png
Binary file modified static/images/docs/reference/service/scim/azuread/userName.png
Binary file modified static/images/docs/reference/service/stack-readme.png
Binary file modified static/images/docs/reference/service/stack-resource-list.png
Binary file modified static/images/docs/reference/service/timeline.png
Binary file modified static/images/docs/reference/service/webhooks/org-webhooks.png
Binary file modified static/images/docs/reference/state_enterprise.png
Binary file modified static/images/docs/reference/state_saas.png
Binary file modified static/images/docs/reference/state_tokens.png
Binary file modified static/images/docs/reference/vscode.png
Binary file modified static/images/docs/service/aws-athena.png
Binary file modified static/images/docs/service/aws-cloudwatch.png
Binary file modified static/images/docs/service/aws-dynamodb.png
Binary file modified static/images/docs/service/aws-ec2.png
Binary file modified static/images/docs/service/aws-ecr.png
Binary file modified static/images/docs/service/aws-iam.png
Binary file modified static/images/docs/service/aws-kinesis.png
Binary file modified static/images/docs/service/aws-s3.png
Binary file modified static/images/docs/service/aws-sns.png
Binary file modified static/images/docs/service/aws-sqs.png
Binary file modified static/images/docs/service/deploy-actions.png
Binary file modified static/images/docs/service/gha-install.png
Binary file modified static/images/docs/service/gha-installed.png
Binary file modified static/images/docs/tutorial-travis/01-add-travis-envvar.png
Binary file modified static/images/get-started-azure-with-java.png
Binary file modified static/images/get-started.png
Binary file modified static/images/getting-started/console-update.png
Binary file modified static/images/glare-white.png
Binary file modified static/images/glare.png
100755 → 100644
Binary file modified static/images/glare2.png
100755 → 100644
Binary file modified static/images/google-next/google-next-24-hero.png
Binary file modified static/images/google-next/google-next-24-meta.png
Binary file modified static/images/google-next/templates-container-service.png
Binary file modified static/images/google-next/templates-kubernetes-cluster.png
Binary file modified static/images/google-next/templates-serverless.png
Binary file modified static/images/heropattern.png
Binary file modified static/images/home/carousel-cli.png
Binary file modified static/images/home/carousel-code.png
Binary file modified static/images/home/carousel-console.png
Binary file modified static/images/home/youtube-getting-started.png
Binary file modified static/images/home/youtube-preview.png
Binary file modified static/images/infographics.png
Binary file modified static/images/[email protected]
Binary file modified static/images/just-azure-code-ad.png
Binary file modified static/images/kubecon/kubecon-fall-meta.png
Binary file modified static/images/kubecon/pulumiverse.png
Binary file modified static/images/kubecon/search.png
Binary file modified static/images/kubecon/templates-container-service-aws.png
Binary file modified static/images/kubecon/templates-container-service.png
Binary file modified static/images/kubecon/templates-kubernetes-application.png
Binary file modified static/images/kubecon/templates-kubernetes-cluster.png
Binary file modified static/images/kubecon/templates-serverless-application.png
Binary file modified static/images/logo-neon.png
100755 → 100644
Binary file modified static/images/microsoft-build/meta.png
Binary file modified static/images/microsoft-build/templates/kubernetes-azure.png
Binary file modified static/images/microsoft-build/templates/vm-azure.png
Binary file modified static/images/migrate/oss-meta.png
Binary file modified static/images/migrate/pulumi-migration-hub.png
Loading
Loading