From 84c8ed2a7d2c8e92a986df07ff55b386803ec719 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 21 Jul 2026 20:20:29 +0200 Subject: [PATCH 1/2] Update framework workflow: Use default token --- .github/workflows/update-framework.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-framework.yml b/.github/workflows/update-framework.yml index 263c180c5..364a22010 100644 --- a/.github/workflows/update-framework.yml +++ b/.github/workflows/update-framework.yml @@ -17,7 +17,6 @@ concurrency: permissions: contents: write - issues: read pull-requests: write jobs: @@ -30,7 +29,7 @@ jobs: - name: Check out source code uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: - token: ${{ secrets.ACTIONS_BOT }} + token: ${{ secrets.GITHUB_TOKEN }} - name: Set up PHP environment uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2 @@ -58,7 +57,7 @@ jobs: - name: Commit and Create Pull Request env: - GH_TOKEN: ${{ secrets.ACTIONS_BOT }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} DEFAULT_BRANCH: ${{ github.event.repository.default_branch }} PR_BODY: | **This is an automated pull-request** @@ -74,7 +73,7 @@ jobs: git push -f origin update-framework - PR_NUMBER=$(gh api --method GET "repos/${{ github.repository }}/pulls" -f head="${{ github.repository_owner }}:update-framework" -f base="$DEFAULT_BRANCH" -f state="open" --jq '.[0].number // empty') + PR_NUMBER=$(gh pr list --head "update-framework" --base "$DEFAULT_BRANCH" --state open --json number --jq '.[0].number // empty') if [ -z "$PR_NUMBER" ]; then gh pr create \ --title "Update wp-cli framework" \ From 38ecddc4c7beb89128d279bc92c53afae5e581dd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 21 Jul 2026 18:22:28 +0000 Subject: [PATCH 2/2] Update wp-cli framework --- composer.lock | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.lock b/composer.lock index 67a389090..7b7732e33 100644 --- a/composer.lock +++ b/composer.lock @@ -2674,12 +2674,12 @@ "source": { "type": "git", "url": "https://github.com/wp-cli/wp-cli.git", - "reference": "63fb80efceb323f3174c53d6b2a0f42ea4d7c6a1" + "reference": "271735d54b45dca54115dd73d4c8f36f5345319e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/63fb80efceb323f3174c53d6b2a0f42ea4d7c6a1", - "reference": "63fb80efceb323f3174c53d6b2a0f42ea4d7c6a1", + "url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/271735d54b45dca54115dd73d4c8f36f5345319e", + "reference": "271735d54b45dca54115dd73d4c8f36f5345319e", "shasum": "" }, "require": { @@ -2751,7 +2751,7 @@ "issues": "https://github.com/wp-cli/wp-cli/issues", "source": "https://github.com/wp-cli/wp-cli" }, - "time": "2026-07-21T14:08:04+00:00" + "time": "2026-07-21T15:16:03+00:00" }, { "name": "wp-cli/wp-config-transformer", @@ -9811,5 +9811,5 @@ "platform-overrides": { "php": "7.2.24" }, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.9.0" }