Revert "Branch to test sadow pr 41200"
This commit is contained in:
parent
3966d44644
commit
a07f35c384
|
@ -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,
|
|
||||||
});
|
|
|
@ -38,7 +38,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
php-version: '7.4'
|
php-version: '7.4'
|
||||||
- name: 'Run the script to assign a milestone'
|
- 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
|
run: php assign-milestone-to-merged-pr.php
|
||||||
env:
|
env:
|
||||||
PULL_REQUEST_ID: ${{ github.event.pull_request.node_id }}
|
PULL_REQUEST_ID: ${{ github.event.pull_request.node_id }}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
const { test, expect } = require( '@playwright/test' );
|
const { test, expect } = require( '@playwright/test' );
|
||||||
const { coupon, order } = require( '../../data' );
|
const { coupon, order } = require( '../../data' );
|
||||||
// update for PR test sadow 41200
|
|
||||||
/**
|
/**
|
||||||
* Tests for the WooCommerce Coupons API.
|
* Tests for the WooCommerce Coupons API.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue