Support Images binding in getPlatformProxy()
#4137
Workflow file for this run
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: v3 Maintenance | |
on: | |
pull_request: | |
branches: | |
- main | |
types: [synchronize, opened, reopened, labeled, unlabeled] | |
paths: | |
- ".changeset/**.md" | |
permissions: | |
contents: write # Required to push the v3 backport branch up | |
pull-requests: write # Required for opening the backport PR and commenting on the original PR | |
jobs: | |
open-pr: | |
if: ${{ | |
github.repository_owner == 'cloudflare' && | |
github.event.pull_request.draft == false && | |
contains(github.event.pull_request.labels.*.name, 'skip-v3-pr') == false | |
}} | |
name: Open backport PR for patches | |
runs-on: macos-latest | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Dependencies | |
uses: ./.github/actions/install-dependencies | |
- uses: Ana06/[email protected] | |
id: files | |
with: | |
format: "json" | |
- run: node -r esbuild-register tools/deployments/open-v3-pr.ts | |
id: open_pr | |
env: | |
FILES: ${{ steps.files.outputs.all }} | |
PR_NUMBER: ${{ github.event.number }} | |
PR_TITLE: ${{ toJson(github.event.pull_request.title) }} | |
GH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} # We cannot create a PR with the default GITHUB_TOKEN with the `pull_request` event. | |
- name: "Comment on PR with error details" | |
if: steps.open_pr.outputs.has_wrangler_patch == 'true' && failure() | |
uses: marocchino/sticky-pull-request-comment@daa4a82a0a3f6c162c02b83fa44b3ab83946f7cb | |
with: | |
header: v3-backport | |
message: | | |
Failed to automatically backport this PR's changes to Wrangler v3. Please manually create a PR targeting the `v3-maintenance` branch with your changes. Thank you for helping us keep Wrangler v3 supported! | |
Depending on your changes, running `git rebase --onto v3-maintenance main ${{ github.head_ref }}` might be a good starting point. | |
Notes: | |
- your PR branch should be named `v3-backport-${{ github.event.number }}` | |
- add the `skip-v3-pr` label to the current PR to stop this workflow from failing | |
- name: "Comment on PR with backport PR details" | |
if: steps.open_pr.outputs.has_wrangler_patch == 'true' && success() | |
uses: marocchino/sticky-pull-request-comment@daa4a82a0a3f6c162c02b83fa44b3ab83946f7cb | |
with: | |
header: v3-backport | |
message: | | |
These changes have been automatically backported to Wrangler v3 :tada: You can view the automatically updated PR at https://github.com/cloudflare/workers-sdk/compare/v3-maintenance...v3-backport-${{ github.event.number }}. Please check that PR for correctness, and make sure it's merged after this one. Thank you for helping us keep Wrangler v3 supported! |