name: Compress Images on: pull_request: # Run Image Actions when JPG, JPEG, PNG or WebP files are added or changed. # See https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#onpushpull_requestpaths for reference. paths: - '**.jpg' - '**.jpeg' - '**.png' - '**.webp' jobs: build: # Only run on Pull Requests within the same repository, an