Commit Graph

262 Commits

Author SHA1 Message Date
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
roykho bdbd97fa9d
Add task instructions for the PR reviewer 2021-07-30 10:02:16 -07: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 17eb1ddd22 Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/plugin-upload-flow 2021-07-20 13:57:04 -06:00
Greg 268c07118e Added plugin upload functionality 2021-07-15 14:39:32 -06:00
Martin Winkel 9467260e5f fixed a typo in the bug issue template of github 2021-06-30 17:10:10 +02: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
Ron Rennick 07f72c80b4
fix spacing
Co-authored-by: Greg <71906536+zhongruige@users.noreply.github.com>
2021-04-13 08:25:22 -03:00
Ron Rennick a88bc666de enable smoke test 2021-04-12 13:32:38 -03:00
Ron Rennick cea88305a7 enable stalebot 2021-04-12 10:55:30 -03:00
Ron Rennick af698acc8e
Merge pull request #29509 from woocommerce/add/feedback-label-action
add contributor feedback label action
2021-04-07 22:55:20 -03:00
Ron Rennick 1affe03ac6 add conditions for github actions and open issues 2021-04-07 17:25:26 -03:00
Greg 6d02a3d375
Merge pull request #29600 from woocommerce/fix/smoke-test-schedule
Fix tranposed cron schedule
2021-04-06 07:59:41 -06:00
Ron Rennick 1f919d3681 fix tranposed cron schedule 2021-04-06 08:18:45 -03:00
Ron Rennick 6f80b55617 fix transposed cron schedule, change process order 2021-04-05 18:16:12 -03:00
Greg 5aeafe56eb
Merge pull request #29571 from woocommerce/add/smoke-test-daily
add smoke test daily log in
2021-04-05 13:32:22 -06:00
Ron Rennick 9355c92231 add smoke test daily log in 2021-04-01 21:55:38 -03:00
Ron Rennick 3096014057 fix typo in stalebot parameter name 2021-04-01 14:54:59 -03:00
Ron Rennick 85893dd018 Merge branch 'trunk' into add/feedback-label-action 2021-04-01 14:47:57 -03:00
Ron Rennick 18c500c24f add contributor feedback label action 2021-03-26 16:33:44 -03:00
Ron Rennick 214ca384ea add stalebot action with dry run enabled 2021-03-26 14:29:53 -03:00
Claudio Sanches dd57663274
Merge pull request #29371 from woocommerce/add/trigger-code-reference-update
Update code reference after release build is done
2021-03-24 18:39:02 -03:00
Néstor Soriano 886cd15016
Merge pull request #29378 from woocommerce/fix/code-sniff
Remove Travis and fix CI in GitHub Actions
2021-03-23 15:22:49 +01:00
Claudio Sanches 599f2e95ca Stop nightly builds in forks.
Nightly builds workflow requires a GitHub release ID that doesn't exists
in forks, making it to always fail.
2021-03-15 21:44:01 -03:00
Ron Rennick 7759e3a16d unpin WP version in E2E test run 2021-03-15 13:43:15 -03:00
Claudio Sanches 4e893022a0 Fixed Codecov integration and moved into a new step 2021-03-13 22:08:46 -03:00
Claudio Sanches 16823082aa Removed Travis 2021-03-13 21:58:42 -03:00
Claudio Sanches 87a18620eb Added workflow to run CI in trunk and release/** branches 2021-03-13 21:29:15 -03:00
Claudio Sanches 75ed94bd38 Fixed PHPCS run and added cs2pr support 2021-03-13 21:01:21 -03:00
Claudio Sanches e0040a1a4e Remove mysql from code sniff workflow 2021-03-13 19:42:06 -03:00
Claudio Sanches 7c23eb1e33 Update code reference after release build is done 2021-03-12 23:17:27 -03:00
Ron Rennick 698fdc3712 Merge branch 'trunk' into try/add-e2e-screenshot 2021-03-12 12:00:24 -04:00
Ron Rennick 874748cf20 pin ubuntu to 18.04 for port 8084 2021-03-12 09:39:44 -04:00
vedanshujain 934243d8bd Remove node_modules caching to prevent dir related errors. 2021-03-12 09:54:37 +05:30
Ron Rennick cad8ae3413 temporarily pin WP version to 5.6.2 2021-03-11 15:27:46 -04:00
Ron Rennick ac94f70a16 update secret names with E2E_ 2021-03-10 14:51:18 -04:00
Ron Rennick bb907a6acd add slack secrets, deliberately break test 2021-03-09 16:11:48 -04:00
Ron Rennick 4c88973039 add slack channel support 2021-03-08 19:22:55 -04:00
vedanshujain a53bb20a62 Disable comment workflow since it fails on fork. 2021-03-01 17:35:49 +05:30
Claudio Sanches d6e3cf6de9 Update default GIT branch 2021-02-25 20:51:14 -03:00
barryhughes 4a78f13958 Spacing 2021-02-16 12:43:18 -08:00
barryhughes 97c4e42610 Correct the external packages list (remove REST API, add WC Admin) | spotfix 2021-02-16 12:40:27 -08:00
vedanshujain eefb3a4c0d Yoda notation, you must not follow.
Syntax will fail, for GH actions.
2021-02-16 13:23:27 +05:30
vedanshujain f31befd6fe Whitespace change to trigger tests. 2021-02-16 13:14:08 +05:30
vedanshujain 4a39b00a2e Run build action only for WC PRs because forks wont have permission to post comment. 2021-02-09 16:20:00 +05:30
vedanshujain 8963755442 Use bash instead of sh 2021-02-09 16:15:48 +05:30
vedanshujain 3e0fc5e89b Add CI for code coverage and code sniff on GitHub actions. 2021-02-09 16:09:56 +05:30
vedanshujain dc865bc94d Renamed file name to be more accurate. 2021-02-01 09:56:51 +05:30
vedanshujain d6d1e6a473 More strict cache keys. 2021-01-29 17:19:29 +05:30
vedanshujain 64b066eb22 Convert logic from string to bool to see if that works. 2021-01-29 16:45:14 +05:30
vedanshujain bc4228ae7f Add caching for node modules. 2021-01-29 16:32:34 +05:30
vedanshujain 783cb4b63c Add action for running e2e tests. 2021-01-29 16:26:03 +05:30
Claudio Sanches 615bcfdbc2 Fixed repository URL 2021-01-22 00:18:07 -03:00
Claudio Sanches bac26b82b9 Fixed params 2021-01-21 23:54:00 -03:00
Claudio Sanches 56ee106f34 Add new message 2021-01-21 23:49:33 -03:00
Claudio Sanches 64f9b8e4b5 Introduced "add comment" step to pr-build workflow 2021-01-21 22:51:15 -03:00
vedanshujain cf6cf3a35e Split builds into different files. 2021-01-21 17:35:12 +05:30
Vedanshu Jain 06c8fb0c45 Adds a workflow to be triggered when a PR is creted/updated:
1. Build a zip file for that PR.
2. Migrate all unit tests from Travis to Github Actions.
2021-01-21 17:30:12 +05:30
Peter Fabian 75754d5281
Update CONTRIBUTING.md
Fixed the link to GH ideas board.
2020-12-18 12:28:50 +01:00
Renovate Bot 9c60fdd382
Update richardsimko/github-tag-action action to v1.0.5 2020-11-06 10:34:18 +00:00
Claudio Sanches e3b7ed1c75
Merge pull request #28015 from woocommerce/renovate/webfreak001-deploy-nightly-1.x
Update WebFreak001/deploy-nightly action to v1.1.0
2020-10-20 11:44:21 -03:00
Renovate Bot fc1f55dd20
Update richardsimko/github-tag-action action to v1.0.4 2020-10-20 14:13:50 +00:00
Renovate Bot 57b94db15c
Update WebFreak001/deploy-nightly action to v1.1.0 2020-10-20 14:13:41 +00:00
Claudio Sanches 84a828f813 Added Action Scheduler to about text 2020-09-17 12:07:20 -03:00
Claudio Sanches 82a9530b4e Remove REST API repo link and introduce some new repos 2020-09-08 13:49:37 -03:00
Claudio Sanches 079572ae50 woocommerce/action-build@v2 always build a zip file 2020-08-25 15:07:15 -03:00
Claudio Sanches 59fbab9a42 Updated woocommerce/action-build in nightly builds 2020-08-25 13:42:07 -03:00
Claudio Sanches 4e15abbf53 Updated woocommerce/action-build to v2 2020-08-25 13:41:24 -03:00
Claudio Sanches d3f9202c73
Merge pull request #26315 from woocommerce/add/nightly-builds-workflow
Introduces nightly builds workflow
2020-07-01 14:38:01 -03:00
Tam Mullen 8f8b8a0cf2 Updating Security Issue Template 2020-06-15 11:41:00 +01:00
Tam Mullen 8d21028ebf Updated GitHub issue templates to include more details of the information we require. 2020-06-14 21:35:05 +01:00
Claudio Sanches 9b626d6131 Updated build package name 2020-04-29 13:36:25 -03:00
Claudio Sanches c5eb5545ea Updated build package name 2020-04-29 13:35:11 -03:00
Claudio Sanches 5c2bf5f2b4 Make sure the zip file is called woocommerce.zip 2020-04-28 11:52:16 -03:00
Claudio Sanches d3b990d7b2 Updated zip name 2020-04-28 11:51:10 -03:00
Claudio Sanches e6e16bee11 Introduced nightly builds workflow 2020-04-27 23:32:19 -03:00
Claudio Sanches 5dc20e9fc8 Introduced build release workflow 2020-04-27 20:09:29 -03:00
Rodrigo Primo c08c522dd8
Add link to naming conventions wiki page 2019-12-20 10:02:49 -03:00
Rodrigo Primo e5f8213149
Update name of the label used to indicate issues good for external contributors 2019-11-18 16:30:21 -03:00
Rodrigo Primo bb4ded8324 Update links to bug report and feature request issue templates
The name of the bug report and feature request issue templates was
changed in #24844. This commit updates two places where links pointing
to those templates were outdated.
2019-10-17 16:28:01 -03:00
Rodrigo Primo 8e64e10802 Rename issue template files to change their display order
Most important changes are:

- Making sure that the template for security issues is displayed first
- Moving the template for support requests from the bottom to before bug reports hoping that this will decrease the number of support requests that we get.
2019-10-16 11:13:11 -03:00
Rodrigo Primo 1212cb9093 Add missing space between emoji and issue template title 2019-10-16 11:09:56 -03:00
Rodrigo Primo 993e79f63b Add a new section to the issues page for external issues
This commit adds a new section to the issues page for external issues
asking users to report WooCommerce REST API and WooCommerce Gutenberg
Product Blocks issues on their respective repositories.
2019-10-16 11:08:16 -03:00
Rodrigo Primo 14fa191322 Replace "several" with "many" in the first sentence 2019-08-01 11:43:48 -03:00
Rodrigo Primo 2773fd082c Remove WooCommerce market share from the CONTRIBUTING.md file 2019-08-01 11:09:48 -03:00
Rodrigo Primo 66a365edcd Add sentence about the `help wanted` label 2019-07-31 09:35:51 -03:00
Rodrigo Primo ab35e2968b Fix links that point to the internal wiki 2019-07-31 09:26:16 -03:00
Rodrigo Primo b8d50dc5b7 Add link to the WooCommerce Git Flow page in the "Getting started" section 2019-07-31 09:21:58 -03:00
Rodrigo Primo cef6d4744d Improve paragraph about the process to contribute code to WC core 2019-07-31 09:07:51 -03:00
Rodrigo Primo 387ee9c20b Fix GPL version 2019-07-31 09:05:12 -03:00
Rodrigo Primo e0541fc2d1 Reorganize CONTRIBUTING.md 2019-07-26 16:45:26 -03:00
Rodrigo Primo 896f1391f0 Remove section about the build process
This is already covered in the document about how to set up a
development enviroment.
2019-07-26 15:20:10 -03:00
Rodrigo Primo b0fef8e8ef Move Translating WooCommerce section to its own page
https://github.com/woocommerce/woocommerce/wiki/Translating-WooCommerce
2019-07-26 15:19:25 -03:00
Rodrigo Primo b18135fd3c Consolidate info about support on the README.md file
This commit removes duplicated information about support from
CONTRIBUTING.md and consolidates it in README.md.
2019-07-26 14:59:49 -03:00
Mike Jolley c928188831 Update from master 2019-07-10 12:57:02 +01:00
Claudio Sanches 5b376cf771 Updated build process description 2019-07-08 17:46:27 -03:00
Claudio Sanches 2f0d7b2a41 Updated CONTRIBUTING.md to reflect new build process 2019-07-08 17:42:22 -03:00
Mike Jolley 3b974da08f Update readme and contributing docs 2019-06-26 17:20:47 +01:00
Tung Du 46ee4cbc5f Fix some grammar issues 2019-04-01 18:15:59 +07:00
Peter Fabian bf7571cc5b
Update -----security-issue.md
Added more direct link to Automattic's HackerOne.
2019-03-04 09:16:28 +01:00
Peter Fabian 26af79c8d7
Update issue templates
Added 'template' for security issue.
2019-03-04 09:12:19 +01:00
Rodrigo Primo 65356ae147
Revert "Delete old ISSUE_TEMPLATE.md" 2018-10-17 16:27:27 -03:00
Айрат Халитов 7aa730dfac
Delete ISSUE_TEMPLATE.md 2018-09-29 03:54:27 +05:00
Jeremy Pry 2346183501 Include explicit mention of PHP 5.2 requirements 2018-06-08 13:23:58 -04:00
Jeremy Pry 2a1ed2c1cb Update the WP Coding Standards link 2018-06-08 11:31:45 -04:00
Mike Jolley 217fe4bd69
Update Feature_request.md 2018-05-09 20:54:38 +01:00
Mike Jolley cd7c3829ca
Update CONTRIBUTING.md 2018-05-09 12:20:46 +01:00
Mike Jolley ce17349792
Update CONTRIBUTING.md 2018-05-09 11:40:21 +01:00
Mike Jolley 9497826f79
Create Enhancement.md 2018-05-08 23:27:40 +01:00
Mike Jolley 0cc502948e
Rename Custom.md to Support.md 2018-05-08 23:24:37 +01:00
Mike Jolley 23582076b2 Update issue templates 2018-05-08 23:23:58 +01:00
Mike Jolley 33c75fb1c2 Wording tweaks and removed the type of change section 2018-04-19 10:45:03 +01:00
Claudio Sanches 55eee758d7 Prerequisites description 2018-04-18 19:24:14 -03:00
Claudio Sanches 8c52a6ab48 Introduced Pull Request template 2018-04-18 19:20:20 -03:00
Govind Kumar 6dc55a3c11
Updated support url 2018-02-23 01:44:14 +05:30
Mike Jolley 67c07a3314
Update ISSUE_TEMPLATE.md 2018-02-15 11:28:14 +00:00
Claudio Sanches 7cfdab7793 Grammar fix 2017-09-28 14:27:11 -03:00
Claudio Sanches 24eb7d33dd Added note about pre-commit hook and EditorConfig 2017-09-28 11:52:48 -03:00
Mike Jolley 1d2c6d8b20 Update ISSUE_TEMPLATE.md 2017-09-01 10:18:04 +01:00
Mike Jolley c9d500f4db Update ISSUE_TEMPLATE.md 2017-07-24 13:34:04 +01:00
Mike Jolley 0b9b178522 Update ISSUE_TEMPLATE.md 2017-07-24 13:32:45 +01:00
Mike Jolley b376b548b9 Update ISSUE_TEMPLATE.md 2017-07-24 13:25:23 +01:00
Mike Jolley a9339f60d3 Update ISSUE_TEMPLATE.md 2017-07-24 13:23:38 +01:00
Mike Jolley e3a9cc9a3d Update ISSUE_TEMPLATE.md 2017-06-21 10:06:28 +01:00
Mike Jolley 5f0780efe8 Update ISSUE_TEMPLATE.md 2017-06-20 14:25:10 +01:00
Mike Jolley 3c0479f0e2 Update CONTRIBUTING.md 2017-06-05 11:02:11 +01:00
Konstantin Kovshenin bba3609786 Fix a doc link in Contributing wiki
The "GitHub pull request documentation" leads to a 404.
2017-04-21 14:33:33 +03:00
Mike Jolley ad96ebc4c9 Update ISSUE_TEMPLATE.md 2017-04-05 10:28:54 +01:00
Mike Jolley 178a4e31e2 details 2017-04-05 10:28:33 +01:00
Ryan Ray b0bf69aa01 Update CONTRIBUTING.md
Renamed any lingering WooThemes references to WooCommerce. :)
2017-02-21 18:14:52 -05:00
Mike Jolley 2bbc363033 wiki 2017-01-27 11:24:16 +00:00