woocommerce/.github/workflows
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
..
scripts Use 'pull_request_target' in the automatic milestoning action 2021-07-29 16:47:27 +02:00
build-release-zip-file.yml Add a GitHub action to manually trigger the generation of a release zip file 2021-04-16 13:06:49 +02:00
build-release.yml Update code reference after release build is done 2021-03-12 23:17:27 -03:00
ci.yml Added workflow to run CI in trunk and release/** branches 2021-03-13 21:29:15 -03:00
nightly-builds.yml Stop nightly builds in forks. 2021-03-15 21:44:01 -03:00
pr-build-and-e2e-tests.yml unpin WP version in E2E test run 2021-03-15 13:43:15 -03:00
pr-code-coverage.yml Fixed Codecov integration and moved into a new step 2021-03-13 22:08:46 -03:00
pr-code-sniff.yml Fixed PHPCS run and added cs2pr support 2021-03-13 21:01:21 -03:00
pr-unit-tests.yml Add CI for code coverage and code sniff on GitHub actions. 2021-02-09 16:09:56 +05:30
pull-request-post-merge-processing.yml Use 'pull_request_target' in the automatic milestoning action 2021-07-29 16:47:27 +02:00
smoke-test-daily.yml Code review feedback 2021-07-21 10:22:50 -06:00
stalebot.yml enable stalebot 2021-04-12 10:55:30 -03:00
update-feedback-labels.yml update remove stale on comment (#29882) 2021-05-13 14:25:14 +02:00