diff --git a/.github/workflows/calibreapp-image-actions.yml b/.github/workflows/calibreapp-image-actions.yml deleted file mode 100644 index 138ffc099d561..0000000000000 --- a/.github/workflows/calibreapp-image-actions.yml +++ /dev/null @@ -1,44 +0,0 @@ -# Compress images on demand (workflow_dispatch), and at 12am every Sunday (schedule). -# Open a Pull Request if any images can be compressed. -name: Compress Images -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * 0' - -permissions: {} - -jobs: - build: - # As this action runs on a schedule, only run it in the FreeTubeApp/FreeTube repository to avoid unnecessary GitHub Actions usage/billing in forks. - # Still allow the workflow to be manually triggered. - # If a fork does need this workflow, they can change this condition in their fork to include their repository. - if: github.repository == 'FreeTubeApp/FreeTube' || github.event_name == 'workflow_dispatch' - - name: calibreapp/image-actions - runs-on: ubuntu-latest - - permissions: - contents: write - pull-requests: write - - steps: - - name: Checkout Repo - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #v7.0.1 - with: - persist-credentials: false - - - name: Compress Images - id: calibre - uses: calibreapp/image-actions@9d037c06280028c110ff61c433ad4dc7d33c3c43 - with: - githubToken: ${{ secrets.GITHUB_TOKEN }} - compressOnly: true - - name: Create New Pull Request If Needed - if: steps.calibre.outputs.markdown != '' - uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 #v8.1.1 - with: - title: Compressed Images Nightly - branch-suffix: timestamp - commit-message: Compressed Images - body: ${{ steps.calibre.outputs.markdown }}