Skip to content

Commit

Permalink
Merge pull request GatherPress#858 from carstingaxion/fix/screenshot-…
Browse files Browse the repository at this point in the history
…workflow-trigger-image-compression-5

Fix/screenshot workflow trigger image compression 5
  • Loading branch information
carstingaxion authored Sep 4, 2024
2 parents 99b4b6a + 6dae382 commit 02c3afa
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/compress-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
build:
# Only run on Pull Requests within the same repository, and not from forks.
if: github.event.pull_request.head.repo.full_name == github.repository
#if: github.event.pull_request.head.repo.full_name == github.repository
name: calibreapp/image-actions
permissions: write-all
runs-on: ubuntu-latest
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/wordpress-org-screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@ jobs:
git config --local user.name "GitHub Action"
# Remove untracked, temporary file
rm -f ./localized_blueprint.json
# Do not push built changes, focus on the images.
git restore ./build
git add -A
git commit -m "Screenshots for ${{ matrix.locale }} updated!"
git push origin fix/wp-org-screenshots-${{ matrix.locale }}-${{ github.sha }}
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
"packages-update": "wp-scripts packages-update",
"plugin-zip": "wp-scripts plugin-zip",
"start": "wp-scripts start",
"prescreenshots:wporg": "wp-scripts build",
"prescreenshots:wporg:debug": "wp-scripts build",
"prescreenshots:wporg:ui": "wp-scripts build",
"screenshots:wporg": "wp-scripts test-playwright --config .github/scripts/wordpress-org-screenshots/playwright.config.ts",
"screenshots:wporg:debug": "wp-scripts test-playwright --config .github/scripts/wordpress-org-screenshots/playwright.config.ts --debug",
"screenshots:wporg:ui": "wp-scripts test-playwright --config .github/scripts/wordpress-org-screenshots/playwright.config.ts --ui",
Expand Down

0 comments on commit 02c3afa

Please sign in to comment.