Revert "Branch to test sadow pr 41200"

This commit is contained in:
nigeljamesstevenson 2023-11-03 11:40:55 +00:00 committed by GitHub
parent 3966d44644
commit a07f35c384
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 27 deletions

View File

@ -1,25 +0,0 @@
name: Milestone Manager
on:
pull_request_target:
types: [milestoned]
permissions: {}
jobs:
remove-milestone-from-unmerged-prs:
name: "Remove Milestone from Unmerged PRs"
if: github.event.pull_request.merged != true
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/github-script@v6
with:
script: |
github.rest.issues.update({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.pull_request.number,
milestone: null,
});

View File

@ -38,7 +38,9 @@ jobs:
with:
php-version: '7.4'
- name: 'Run the script to assign a milestone'
if: github.event.pull_request.base.ref == 'trunk'
if: |
!github.event.pull_request.milestone &&
github.event.pull_request.base.ref == 'trunk'
run: php assign-milestone-to-merged-pr.php
env:
PULL_REQUEST_ID: ${{ github.event.pull_request.node_id }}

View File

@ -1,6 +1,6 @@
const { test, expect } = require( '@playwright/test' );
const { coupon, order } = require( '../../data' );
// update for PR test sadow 41200
/**
* Tests for the WooCommerce Coupons API.
*