Commit fa9bfe3105f for woocommerce
commit fa9bfe3105f6620ecbd5d57d60df1505d97cb719
Author: Vladimir Reznichenko <kalessil@gmail.com>
Date: Mon Mar 16 14:23:56 2026 +0100
[dev] CI: switch release automation to GitHub runners (internal policies) (#63702)
diff --git a/.github/workflows/release-assignment.yml b/.github/workflows/release-assignment.yml
index 24d3a6f8dc8..fcfe7966b47 100644
--- a/.github/workflows/release-assignment.yml
+++ b/.github/workflows/release-assignment.yml
@@ -11,7 +11,7 @@ permissions:
jobs:
check-upcoming-release-events:
name: Check for upcoming release events
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
outputs:
should-trigger-webhook: ${{ steps.check-code-freeze-8-weeks.outputs.should-trigger-webhook }}
version: ${{ steps.check-code-freeze-8-weeks.outputs.version }}
@@ -134,7 +134,7 @@ jobs:
name: Assign a release lead
needs: [check-upcoming-release-events]
if: ${{ needs.check-upcoming-release-events.outputs.should-trigger-webhook == 'true' }}
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
outputs:
create-tracking-issues: ${{ steps.trigger-upcoming-code-freeze-events.outputs.create-tracking-issues }}
post: ${{ steps.trigger-upcoming-code-freeze-events.outputs.post }}
@@ -212,7 +212,7 @@ jobs:
name: Send Slack notification
needs: [trigger-upcoming-code-freeze-events, check-upcoming-release-events, create-parent-tracking-issue, create-sub-tracking-issues]
if: ${{ needs.trigger-upcoming-code-freeze-events.outputs.create-tracking-issues == 'true' }}
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
steps:
- name: Send Slack notification
uses: archive/github-actions-slack@a62d71a4ea93e68cbdc37581166b0298bea512e9 # v2.10.0
@@ -232,7 +232,7 @@ jobs:
name: Create Parent Tracking Issue in Linear
needs: [trigger-upcoming-code-freeze-events, check-upcoming-release-events]
if: ${{ needs.trigger-upcoming-code-freeze-events.outputs.create-tracking-issues == 'true' }}
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
outputs:
sub-issues-matrix: ${{ steps.build-matrix.outputs.matrix }}
issue-url: ${{ steps.check-existing-issue.outputs.issue-url || steps.create-tracking-issue.outputs.issue-url }}
@@ -466,7 +466,7 @@ jobs:
name: Notify on failure
needs: [check-upcoming-release-events, trigger-upcoming-code-freeze-events, send-slack-notification, create-parent-tracking-issue, create-sub-tracking-issues]
if: ${{ failure() }}
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
steps:
- name: Send failure notification to Slack
uses: archive/github-actions-slack@a62d71a4ea93e68cbdc37581166b0298bea512e9 # v2.10.0
diff --git a/.github/workflows/release-build-zip-file.yml b/.github/workflows/release-build-zip-file.yml
index 5922339ebb2..74c742fd8ea 100644
--- a/.github/workflows/release-build-zip-file.yml
+++ b/.github/workflows/release-build-zip-file.yml
@@ -40,7 +40,7 @@ concurrency:
jobs:
verify:
name: 'Pre-build verification'
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
permissions:
contents: write # Required to fetch draft releases for some reason. See https://github.com/cli/cli/issues/9076#issuecomment-2146148572.
outputs:
@@ -207,7 +207,7 @@ jobs:
build:
name: Build release zip file
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-4vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
needs: [ verify ]
outputs:
artifact-url: ${{ steps.fetch-build-details.outputs.artifact-url }}
@@ -258,7 +258,7 @@ jobs:
create-release:
name: Create GitHub release
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
needs: [ build ]
if: ${{ inputs.create_github_release }}
permissions:
diff --git a/.github/workflows/release-bump-version.yml b/.github/workflows/release-bump-version.yml
index 9b1177dda14..2717a8fc24b 100644
--- a/.github/workflows/release-bump-version.yml
+++ b/.github/workflows/release-bump-version.yml
@@ -38,7 +38,7 @@ concurrency:
jobs:
bump-version:
name: Bump WooCommerce Version
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
steps:
- name: Normalize branch input
id: normalize-branch
diff --git a/.github/workflows/release-cfe-prr-issue-validation.yml b/.github/workflows/release-cfe-prr-issue-validation.yml
index 24fc392243b..d50be26194f 100644
--- a/.github/workflows/release-cfe-prr-issue-validation.yml
+++ b/.github/workflows/release-cfe-prr-issue-validation.yml
@@ -8,7 +8,7 @@ permissions: {}
jobs:
prep:
if: github.event.label.name == 'code freeze exception' || github.event.label.name == 'point release request' || github.event.label.name == 'Approved' || github.event.label.name == 'Rejected'
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
outputs:
pr_number: ${{ steps.extract-pr.outputs.PR_NUMBER }}
steps:
@@ -39,7 +39,7 @@ jobs:
verify:
if: github.event.label.name == 'code freeze exception' || github.event.label.name == 'point release request' || github.event.label.name == 'Approved'
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
outputs:
release_number: ${{ steps.extract-release.outputs.RELEASE_NUMBER }}
permissions:
@@ -189,7 +189,7 @@ jobs:
apply-milestone:
if: github.event.label.name == 'code freeze exception' || github.event.label.name == 'point release request' || github.event.label.name == 'Approved' || github.event.label.name == 'Rejected'
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
permissions:
issues: write
needs:
@@ -206,7 +206,7 @@ jobs:
cfe-created:
if: github.event.label.name == 'code freeze exception' || github.event.label.name == 'point release request'
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
needs:
- verify
permissions:
@@ -252,7 +252,7 @@ jobs:
request-approved:
if: ${{ github.event.label.name == 'Approved' }}
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
permissions:
pull-requests: write
issues: write
@@ -331,7 +331,7 @@ jobs:
request-rejected:
if: ${{ github.event.label.name == 'Rejected' }}
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
permissions:
issues: write
steps:
diff --git a/.github/workflows/release-code-freeze.yml b/.github/workflows/release-code-freeze.yml
index a476dac41d7..49afbbc4734 100644
--- a/.github/workflows/release-code-freeze.yml
+++ b/.github/workflows/release-code-freeze.yml
@@ -21,7 +21,7 @@ env:
jobs:
check-feature-freeze-event:
name: Check for Feature Freeze events today
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
outputs:
should-run: ${{ steps.check-feature-freeze-event.outputs.should-run }}
steps:
@@ -72,7 +72,7 @@ jobs:
name: Calculate versions and confirm repo is in a good state
needs: check-feature-freeze-event
if: ${{ needs.check-feature-freeze-event.outputs.should-run == 'true' }}
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
outputs:
nextReleaseBranch: ${{ steps.calculate-versions.outputs.nextReleaseBranch }}
nextReleaseVersion: ${{ steps.calculate-versions.outputs.nextReleaseVersion }}
@@ -126,7 +126,7 @@ jobs:
run-feature-freeze:
name: Perform feature freeze
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
needs: prepare-for-feature-freeze
steps:
- name: Checkout trunk
@@ -166,7 +166,7 @@ jobs:
cleanup-milestones:
name: Clean up old and completed milestones
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
needs: [prepare-for-feature-freeze, run-feature-freeze]
steps:
- name: Close completed milestones
@@ -222,7 +222,7 @@ jobs:
publish-dev-release:
name: 'Publish -dev release'
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
needs: [prepare-for-feature-freeze, build-dev-release]
outputs:
release-zip: ${{ steps.publish-release.outputs.release-zip }}
@@ -241,7 +241,7 @@ jobs:
notify-slack:
name: Notify Slack
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
needs: [publish-dev-release, prepare-for-feature-freeze]
outputs:
message-ts: ${{ steps.notify-success.outputs.ts }}
@@ -322,7 +322,7 @@ jobs:
trigger-webhook:
name: Trigger Release Webhook
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
needs: [publish-dev-release, prepare-for-feature-freeze]
steps:
- name: Trigger Feature Freeze Webhook
@@ -381,7 +381,7 @@ jobs:
notify-slack-on-failure:
name: Notify Slack on Failure
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
needs: [ check-feature-freeze-event, prepare-for-feature-freeze, run-feature-freeze, cleanup-milestones, bump-version-in-trunk, build-dev-release, publish-dev-release, notify-slack, trigger-webhook ]
if: always() && ((contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')))
steps:
diff --git a/.github/workflows/release-commits-and-contributors.yml b/.github/workflows/release-commits-and-contributors.yml
index 816013e0a19..57ef939f197 100644
--- a/.github/workflows/release-commits-and-contributors.yml
+++ b/.github/workflows/release-commits-and-contributors.yml
@@ -16,7 +16,7 @@ on:
jobs:
extract-versions:
name: Extract release current and previous versions
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
outputs:
current_version: ${{ steps.calculate-versions.outputs.current_version }}
previous_version: ${{ steps.calculate-versions.outputs.previous_version }}
@@ -92,7 +92,7 @@ jobs:
count-commits-and-contributors:
name: Count commits and contributors between releases
needs: extract-versions
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
outputs:
commit_count: ${{ steps.count-commits.outputs.commit_count }}
contributor_count: ${{ steps.count-commits.outputs.contributor_count }}
@@ -128,7 +128,7 @@ jobs:
generate-contributors-list:
name: Generate contributors list
needs: extract-versions
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
outputs:
contributor_list_path: ${{ steps.generate-contributors-list.outputs.filepath }}
artifact_url: ${{ steps.output-artifact-url.outputs.artifact_url }}
@@ -189,7 +189,7 @@ jobs:
db-updates:
name: Check for database updates
needs: extract-versions
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
outputs:
has_updates: ${{ steps.check-db-updates.outputs.has_updates }}
updates_list: ${{ steps.check-db-updates.outputs.updates_list }}
@@ -319,7 +319,7 @@ jobs:
send-slack-notification:
name: Send Slack Notification
needs: [extract-versions, count-commits-and-contributors, generate-contributors-list, db-updates]
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
steps:
- name: Send Slack message
uses: archive/github-actions-slack@a62d71a4ea93e68cbdc37581166b0298bea512e9 # v 2.10.0
diff --git a/.github/workflows/release-compile-changelog.yml b/.github/workflows/release-compile-changelog.yml
index 8fa55ef9daa..9d0a891089d 100644
--- a/.github/workflows/release-compile-changelog.yml
+++ b/.github/workflows/release-compile-changelog.yml
@@ -31,7 +31,7 @@ env:
jobs:
build-prep:
name: Create changelog PR
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
diff --git a/.github/workflows/release-create-tracking-issue.yml b/.github/workflows/release-create-tracking-issue.yml
index c8c3f2b5277..9d8761a5744 100644
--- a/.github/workflows/release-create-tracking-issue.yml
+++ b/.github/workflows/release-create-tracking-issue.yml
@@ -40,7 +40,7 @@ permissions:
jobs:
create-tracking-issue:
name: Create Release Tracking Issue
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
steps:
- name: Parse version and determine template
id: parse-version
diff --git a/.github/workflows/release-feature-highlights-notification.yml b/.github/workflows/release-feature-highlights-notification.yml
index 6234f0b25a4..20dd9d65527 100644
--- a/.github/workflows/release-feature-highlights-notification.yml
+++ b/.github/workflows/release-feature-highlights-notification.yml
@@ -6,7 +6,7 @@ on:
jobs:
check-feature-freeze:
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
outputs:
event-version: ${{ steps.find-feature-freeze-event.outputs.event-version }}
event-title: ${{ steps.find-feature-freeze-event.outputs.event-title }}
@@ -67,7 +67,7 @@ jobs:
notify-upcoming-feature-freeze:
needs: check-feature-freeze
if: needs.check-feature-freeze.outputs.event-title != ''
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
steps:
- name: Send feature highlight reminder notification
uses: archive/github-actions-slack@a62d71a4ea93e68cbdc37581166b0298bea512e9 # v 2.10.0
diff --git a/.github/workflows/release-new-release-published.yml b/.github/workflows/release-new-release-published.yml
index 7dd4a1b6a52..5c01a377467 100644
--- a/.github/workflows/release-new-release-published.yml
+++ b/.github/workflows/release-new-release-published.yml
@@ -20,7 +20,7 @@ jobs:
# Jobs to run after a final release is published (triggered by the "published" GH event).
notify-release-published:
name: 'Notify in Slack when a new (pre)release is published'
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
if: ${{ github.event.action == 'published' && ! ( contains( inputs.release_tag_name, '-dev' ) || contains( inputs.release_tag_name, '-rc' ) ) }}
steps:
- name: 'Checkout repository'
@@ -80,7 +80,7 @@ jobs:
update-global-changelog:
name: 'Update changelog.txt after any stable release'
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
if: ${{ github.event.action == 'published' && ! ( contains( inputs.release_tag_name, '-dev' ) || contains( inputs.release_tag_name, '-beta' ) || contains( inputs.release_tag_name, '-rc' ) ) }}
permissions:
contents: write
diff --git a/.github/workflows/release-open-issue-warning.yml b/.github/workflows/release-open-issue-warning.yml
index 723cbfa37d4..291f4a0b64c 100644
--- a/.github/workflows/release-open-issue-warning.yml
+++ b/.github/workflows/release-open-issue-warning.yml
@@ -11,7 +11,7 @@ permissions:
jobs:
check-upcoming-release-events:
name: Check for upcoming release events
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
outputs:
version: ${{ steps.check-upcoming-release-build.outputs.version }}
milestone: ${{ steps.check-upcoming-release-build.outputs.milestone }}
@@ -76,7 +76,7 @@ jobs:
check-milestones:
name: Check all open milestones
needs: check-upcoming-release-events
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
steps:
- name: Get and process open milestones
id: process-milestones
diff --git a/.github/workflows/release-trends-analysis.yml b/.github/workflows/release-trends-analysis.yml
index db642e18b5e..2f48cdf1c2d 100644
--- a/.github/workflows/release-trends-analysis.yml
+++ b/.github/workflows/release-trends-analysis.yml
@@ -8,7 +8,7 @@ on:
jobs:
analyze-trends-cfes:
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
steps:
- name: Analyze CFEs trends
env:
@@ -32,7 +32,7 @@ jobs:
- When unable to process this comment, please retry once more in five minutes.
" > /dev/null
analyze-trends-prrs:
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
steps:
- name: Analyze PRRs trends
env:
@@ -56,7 +56,7 @@ jobs:
- When unable to process this comment, please retry once more in five minutes.
"
analyze-quality:
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
steps:
- name: Analyze quality issues
env:
diff --git a/.github/workflows/release-update-stable-tag.yml b/.github/workflows/release-update-stable-tag.yml
index 82053cbbbfe..0838a6677fa 100644
--- a/.github/workflows/release-update-stable-tag.yml
+++ b/.github/workflows/release-update-stable-tag.yml
@@ -26,7 +26,7 @@ concurrency:
jobs:
validate-release:
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
outputs:
version: ${{ steps.extract-version.outputs.version }}
branch: ${{ steps.extract-version.outputs.branch }}
@@ -190,7 +190,7 @@ jobs:
fi
update-wporg-stable-tag:
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
needs: validate-release
steps:
- name: Install SVN
@@ -229,7 +229,7 @@ jobs:
fi
update-gh-stable-tag:
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
needs: [validate-release, update-wporg-stable-tag]
strategy:
fail-fast: false
@@ -303,7 +303,7 @@ jobs:
fi
notify-release:
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
needs: [validate-release, update-wporg-stable-tag, update-gh-stable-tag]
if: ${{ github.event.inputs.allow-revert != 'true' }}
steps:
diff --git a/.github/workflows/release-upload-to-wporg.yml b/.github/workflows/release-upload-to-wporg.yml
index 335888dfaed..03851faaf0a 100644
--- a/.github/workflows/release-upload-to-wporg.yml
+++ b/.github/workflows/release-upload-to-wporg.yml
@@ -20,7 +20,7 @@ concurrency:
jobs:
get-and-validate-release-asset:
name: Get intended release details
- runs-on: ${{ ( github.repository == 'woocommerce/woocommerce' && 'blacksmith-2vcpu-ubuntu-2404' ) || 'ubuntu-latest' }}
+ runs-on: ubuntu-latest
permissions:
contents: write # Required to fetch draft releases for some reason. See https://github.com/cli/cli/issues/9076#issuecomment-2146148572.
outputs:
@@ -158,7 +158,7 @@ jobs:
commit:
name: Commit release to WordPress.org
- runs-on: blacksmith-2vcpu-ubuntu-2404
+ runs-on: ubuntu-latest
needs: [get-and-validate-release-asset]
if: ${{ github.repository == 'woocommerce/woocommerce' }}
permissions: