ci: compressed size workflow now using temporary branch with my changes built into compressed-size-action - #802
Conversation
…es built into compressed-size-action
✅ Deploy Preview for blockstack ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
Updates the repository’s “Compressed Size” GitHub Actions workflow to use a temporary branch of a forked compressed-size-action that includes pending changes (referenced in preactjs/compressed-size-action#146).
Changes:
- Switch
jimhigson/compressed-size-actionfrom a pinned commit SHA to a temporary branch ref for the Game bundle size step. - Switch
jimhigson/compressed-size-actionfrom a pinned commit SHA to a temporary branch ref for the Editor bundle size step.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| - uses: actions/checkout@v6 | ||
| - name: Editor bundle size | ||
| uses: jimhigson/compressed-size-action@903b75ad9d180d0e863d38f441f20de5cdc44046 # until merged: https://github.com/preactjs/compressed-size-action/pull/146 | ||
| uses: jimhigson/compressed-size-action@base-ref-with-build # until merged: https://github.com/preactjs/compressed-size-action/pull/146 |
There was a problem hiding this comment.
Same issue here: referencing jimhigson/compressed-size-action@base-ref-with-build uses a mutable branch and can change without review. Prefer pinning the action to a commit SHA (or immutable tag) to keep results reproducible and avoid supply-chain risk.
| cache: "pnpm" | ||
| - name: Game bundle size | ||
| uses: jimhigson/compressed-size-action@903b75ad9d180d0e863d38f441f20de5cdc44046 # until merged: https://github.com/preactjs/compressed-size-action/pull/146 | ||
| uses: jimhigson/compressed-size-action@base-ref-with-build # until merged: https://github.com/preactjs/compressed-size-action/pull/146 |
There was a problem hiding this comment.
Using a mutable branch ref (@base-ref-with-build) for an action makes CI non-reproducible and can break unexpectedly if the branch is force-pushed or deleted. Pin this to a specific commit SHA (or immutable tag) on the fork while waiting for the upstream PR to merge, and update the inline comment accordingly.
|
Size Change: 0 B Total Size: 1.44 MB ℹ️ View Unchanged
|
|
Size Change: 0 B Total Size: 2.36 MB ℹ️ View Unchanged
|
No description provided.