diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c733e9b..c16afcd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -75,6 +75,10 @@ jobs: with: name: rb-cv.pdf path: ./ + - name: Workaround ghostscript vunerability protection + # A vunerabillty that existed in ghostscript no longer exists. This is to work around the temporary protection + # that was put in place. + # https://stackoverflow.com/questions/52998331/imagemagick-security-policy-pdf-blocking-conversion + run: sed -i '/disable ghostscript format types/,+6d' /etc/ImageMagick-6/policy.xml - name: Run convert command - run: cat /etc/ImageMagick-6/policy.xml run: convert -density 700 -resize 10% -append -quality 98 -alpha remove rb-cv.pdf rb-cv-thumbnail-p1.jpg