name: Compress images on: pull_request paths: - '**.jpg' - '**.png' jobs: build: name: calibreapp/image-actions runs-on: ubuntu-latest steps: - uses: actions/checkout@master - name: calibreapp/image-actions uses: calibreapp/image-actions@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}