[Regression] Changing video in player uncontrollably changes video back and forth several times #33951
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Image Minimizer | |
| on: | |
| issue_comment: | |
| types: [created, edited] | |
| issues: | |
| types: [opened, edited] | |
| pull_request: | |
| types: [opened, edited] | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| try-minimize: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 16 | |
| - name: Install probe-image-size | |
| run: npm i probe-image-size@7.2.3 --ignore-scripts | |
| - name: Minimize simple images | |
| uses: actions/github-script@v8 | |
| timeout-minutes: 3 | |
| with: | |
| script: | | |
| const script = require('.github/workflows/image-minimizer.js'); | |
| await script({github, context}); |