Commit Graph

113 Commits

Author SHA1 Message Date
Greg 923cfdbbf1 Use release Slack channel 2021-10-01 10:13:35 -06:00
Greg 0bd549de3c Move env variable 2021-10-01 10:13:03 -06:00
Greg 92403b3e25 Added WP l minus 2 testing on release 2021-10-01 10:08:55 -06:00
Greg 7dfff3da2e Merge branch 'trunk' of https://github.com/woocommerce/woocommerce into add/pr-smoke-test-workflow 2021-09-24 14:28:52 -06:00
Greg 54a11300a2 Update remove label logic. 2021-09-24 14:28:36 -06:00
Greg affb99cae6 Use original if always check 2021-09-23 09:24:16 -06:00
Ron Rennick c15bf28b22
Merge pull request #30684 from woocommerce/add/api-test-script-scheduled-run
Run API tests with regular run and add script
2021-09-23 10:36:21 -03:00
Greg cf32051f0e Update if check 2021-09-22 18:08:51 -06:00
Greg 7a2ba8800a Add safer if check 2021-09-22 15:56:53 -06:00
Greg 299a6b5ca2 Use name instead of labels array 2021-09-20 17:43:53 -06:00
Greg c507ec535b Run label removal always 2021-09-20 14:30:10 -06:00
Greg c728b97603 Rename workflow 2021-09-20 13:05:45 -06:00
Greg 96fae311cb Use step instead of notify and rename step 2021-09-20 13:05:04 -06:00
Greg e3f1689e35 Add missing runs on 2021-09-20 11:18:40 -06:00
Greg f5ab77aa3e Remove label after run 2021-09-20 11:16:24 -06:00
Greg 30bbedcb2f
Update .github/workflows/pr-smoke-test.yml
Co-authored-by: Ron Rennick <ron@ronandandrea.com>
2021-09-20 10:29:02 -06:00
Greg 4707f48769 Added workflow for running smoke tests on PR 2021-09-10 15:24:24 -06:00
Greg 323a316bd3 Add release slack channel 2021-09-09 14:26:28 -06:00
Greg e09b43f099 Code review feedback 2021-09-09 12:23:23 -06:00
Greg edb10107cf Run API tests with regular run and add script 2021-09-09 08:41:36 -06:00
Nestor Soriano 0ae984e6cc
Fix unit tests failing in PHP 8 in CI
The problem was that PHP 8 requires setting up a different version of
PHPUnit, and after doing that two versions were in place, one in
'vendor/phpunit' and another one in 'bin/composer/phpunit'; the
autoloader was picking the former but it should pick the later.
2021-08-24 15:36:06 +02:00
Greg 2f0aa1a30f Added default timeout override 2021-08-12 16:05:55 -06:00
Greg 32993b8aaf
Merge pull request #30456 from woocommerce/add/stalebot-enhancement-check
filter out enhancement requests from stalebot
2021-08-11 14:06:34 -06:00
Greg c64f383ba7 Use smoke test Slack channel for now 2021-08-10 20:40:27 -06:00
Greg a597edd6b0 Added in GitHub workflow 2021-08-10 20:38:41 -06:00
Barry Hughes ca42736336
Merge pull request #30433 from woocommerce/update/min-wp
Set "Requires at least" to WP 5.6, update testing matrix.
2021-08-09 11:30:27 -07:00
Claudio Sanches 37068f198f Improve continue on error 2021-08-09 13:55:53 -03:00
Claudio Sanches 175cc34ee7 Allow failures for WP nightly unit tests 2021-08-09 13:41:53 -03:00
Claudio Sanches 9a9a855701 Update conditional 2021-08-09 13:22:01 -03:00
Claudio Sanches ef9f511387 Run composer update for wp nightly 2021-08-09 13:00:29 -03:00
Ron Rennick 9892fe6f43 filter out enhancement requests from stalebot 2021-08-09 12:42:26 -03:00
Claudio Sanches 4fea3f4dc1 Update unit test WP matrix 2021-08-09 12:33:39 -03:00
Greg 8ccbbab8ab Added admin email config override 2021-08-05 19:39:30 -06:00
Nestor Soriano 6fb769bc9d
Refactor the PR post-merge processing GitHub action
Common code has been extracted to a "post-request-shared.php" script.
2021-08-03 11:33:33 +02:00
Nestor Soriano b3617a3115
Extend post-merge GH action to add a comment suggestion next steps. 2021-08-03 10:07:24 +02:00
Nestor Soriano 9ffddbac1f
Use 'pull_request_target' in the automatic milestoning action
The original event used, 'pull_request', runs in the context of the
pull request. In the case of pull requests created from forks this means
that a read-only GitHub token is used for API calls, and thus the
call used to assign the milestone fails.

The fix is using the 'pull_request_target' event, which runs in the
context of the base branch, and thus with a read-write token. See:
https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request_target

Also, added a warning message when no milestone without a release
branch is found and thus the newest existing milestone is assigned
(this is a fallback that should normally not happen).
2021-07-29 16:47:27 +02:00
Nestor Soriano 68fcfa9cf6
Add logging to the GH action for assigning a milestone to merged PRs
If the GH API call to assign the milestone to a merged PR returns an
error, the data returned from the call will be dumped to the console,
and thus will be readable by looking at the action execution log.
2021-07-28 15:20:16 +02:00
Greg d062a76a2c Code review feedback 2021-07-21 10:22:50 -06:00
Greg f31693aaec Add in env flag 2021-07-20 15:26:51 -06:00
Greg 268c07118e Added plugin upload functionality 2021-07-15 14:39:32 -06:00
Ron Rennick 7806ea2b5d
update remove stale on comment (#29882)
* remove the stale label when feedback is provided

* remove labels in separate steps
2021-05-13 14:25:14 +02:00
Ron Rennick 1ba0e6d382
update stale to Stale in feedback label CI (#29871) 2021-05-10 17:19:06 +02:00
Ron Rennick afa1ba573d
remove local container from smoke test (#29828) 2021-05-10 15:49:32 +02:00
Ron Rennick bcebdad06d
remove the stale label when feedback is provided (#29829) 2021-05-10 15:08:46 +02:00
Vedanshu Jain 09798c081c
Merge pull request #29699 from woocommerce/add/github-action-to-auto-assign-milestone
Add a GitHub action for automatic assignment of a milestone to merged PRs
2021-04-19 18:25:30 +05:30
Néstor Soriano 3ada9fc562
Change GH API query for milestones to get only the open ones.
Co-authored-by: Vedanshu Jain <vedanshu.jain.2012@gmail.com>
2021-04-19 14:46:45 +02:00
Néstor Soriano 5da39b4ff0
Enclose action step name in double quotes for consistency.
Co-authored-by: Leif Singer <git@singer.sh>
2021-04-16 15:48:38 +02:00
Nestor Soriano b09ddd7984
Add a GitHub action to manually trigger the generation of a release zip file 2021-04-16 13:06:49 +02:00
Nestor Soriano a0c965964b
Add a GitHub action for automatic assignment of milestone to merged PRs
The milestone is chosen as follows:
1. List all the open milestones with a title of "X.Y.Z"
2. Sort them desc using verson_compare
3. foreach them in order, and take the last one not having a
   corresponding release branch ("release/X.Y")
2021-04-15 17:16:00 +02:00
Greg b19500728b
Merge pull request #29653 from woocommerce/fix/28485
Enable smoke test
2021-04-14 16:09:26 -06:00