Add workflows to optimize PNG & SVG files - #9719
PikachuEXE wants to merge 10 commits into
Conversation
Pull request was converted to draft
|
File diff one failed due unable to fetch branch from |
efb4f5ff-1298-471a-8973-3d47447115dc
left a comment
There was a problem hiding this comment.
Failed to see that this PR was opened
1c12f90 to
c54c15e
Compare
|
Workflow updated with new action which generates part of PR body with file diff But probably will wait for #9766 to be merged |
efb4f5ff-1298-471a-8973-3d47447115dc
left a comment
There was a problem hiding this comment.
I was looking at https://github.com/FreeTubeApp/FreeTube/blob/development/.github/workflows/conflicts.yml#L13-L15 and we probably also want to add concurrency too in the rare case that 2pr's are merged that contain images so it wont create 2 separate pr's
In our case it will look like
concurrency:
group: compress-images-${{ github.ref }}
cancel-in-progress: true
|
Also add workflow to ignore list https://github.com/FreeTubeApp/FreeTube/blob/development/.github/workflows/build.yml#L9-L22 |
* development: (30 commits) Add handling for `/show/` urls (FreeTubeApp#9788) Translated using Weblate (Portuguese (Brazil)) Feature/drag drop improve (FreeTubeApp#9591) cleanup leftover from workflow removal (FreeTubeApp#9792) Translated using Weblate (Icelandic) Translated using Weblate (Azerbaijani) Bump vue-router from 5.3.0 to 5.3.1 (FreeTubeApp#9779) Bump marked from 18.0.11 to 18.0.12 (FreeTubeApp#9780) Bump electron-builder from 26.15.7 to 26.16.1 (FreeTubeApp#9781) Bump dompurify from 3.4.14 to 3.4.15 (FreeTubeApp#9784) Bump the webpack group across 1 directory with 2 updates (FreeTubeApp#9778) Translated using Weblate (French) Bump the eslint group with 4 updates (FreeTubeApp#9775) Bump pnpm/action-setup from 6.0.10 to 6.1.0 (FreeTubeApp#9776) Translated using Weblate (Japanese) Translated using Weblate (Turkish) Translated using Weblate (Slovak) Translated using Weblate (Czech) Translated using Weblate (German) Hoist some v-ifs and use v-else and v-else-if (FreeTubeApp#9768) ...
|
Changes made |
|
@PikachuEXE you might want to update pr body |
Pull Request Type
Related issue
Existing image compression workflow seems broken and thus removed in #9686
Description
Workflows for compressing images like what's done in #9685
One for image compression and PR opening (PR body about file diff generation done inside)
Screenshots
Testing
I run new workflow manually which opened PikachuEXE#99 (file details should be default close but I forgot to commit that change before running)
See workflow runs in
Desktop
Additional context
Some previous discussion in PikachuEXE#87
Using https://github.com/PikachuEXE/FreeTube/tree/dev/image-optimize to test workflow runs (files there slightly different from PR