From 653e1b9144c7784e300f4b5b268d67687ec85a71 Mon Sep 17 00:00:00 2001 From: Singularitat <69567293+Singularitat@users.noreply.github.com> Date: Fri, 25 Jun 2021 13:40:49 +1200 Subject: [PATCH 1/2] Create calibreapp-image-actions.yml --- .github/workflows/calibreapp-image-actions.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/calibreapp-image-actions.yml diff --git a/.github/workflows/calibreapp-image-actions.yml b/.github/workflows/calibreapp-image-actions.yml new file mode 100644 index 0000000..c423132 --- /dev/null +++ b/.github/workflows/calibreapp-image-actions.yml @@ -0,0 +1,16 @@ +name: Compress Images +on: + workflow_dispatch: +jobs: + build: + 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@v2 + + - name: Compress Images + uses: calibreapp/image-actions@main + with: + githubToken: ${{ secrets.GITHUB_TOKEN }} From 94f170a85abaecddd7ff240c0a9b80c7a92ef7a4 Mon Sep 17 00:00:00 2001 From: Singularitat <69567293+Singularitat@users.noreply.github.com> Date: Fri, 25 Jun 2021 13:45:08 +1200 Subject: [PATCH 2/2] Update calibreapp-image-actions.yml --- .github/workflows/calibreapp-image-actions.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/calibreapp-image-actions.yml b/.github/workflows/calibreapp-image-actions.yml index c423132..ff29bdf 100644 --- a/.github/workflows/calibreapp-image-actions.yml +++ b/.github/workflows/calibreapp-image-actions.yml @@ -3,7 +3,6 @@ on: workflow_dispatch: jobs: build: - if: github.event.pull_request.head.repo.full_name == github.repository name: calibreapp/image-actions runs-on: ubuntu-latest steps: