Commit graph

39 commits

Author SHA1 Message Date
Aki Hamano
4e1c775c54
GitHub Actions: Install Subversion (#761) 2025-04-08 13:32:09 +09:00
Matias Benedetto
a2befa0e08
Update Node version to 20 (#617)
* Update Node version to 20

* undo unwanted change
2024-05-06 13:55:15 -03:00
Vicente Canales
4e51effd55
Make sure code is being deployed to the directory only on Release PR Merge (#593)
* Remove ability to manually dispatch deploy action

* Group conditions to avoid unwanted OR ops
2024-04-25 16:50:41 -04:00
Vicente Canales
99915dc894
Add missing build step to deploy workflow (#546) 2024-04-09 11:38:05 -04:00
Vicente Canales
094dce3df3
remove reviewer addition (#544) 2024-04-09 11:04:44 -04:00
Vicente Canales
fd372a6960
Refactor GitHub release workflows (#542)
* Refactor GitHub release workflows

Refactor GitHub release workflows in order to comply with branch protection
rules. The new process:

1. Run the "Create new release PR" manually, selecting the release type
   ("major", "minor", or "patch"). This will create a new branch
including the Changelog update and the version bumo on the readme,
create-block-theme.php, and package.json files.
2. Merging the PR created on the previous step will trigger the deploy
   workflow, which remains unchanged, except for the conditions added in
order for it to run only if the merged PR matches the characteristics of
automated release PR.

1. Fork this repo
2. Checkout this branch
3. Merge intro trunk on the fork
4. Run the workflow, a new PR should be created on the fork
5. Merge the PR; the automated deploy step will run. At this point, the
   only thing that you'll be able to test on the fork is that the deploy
workflow correctly identifies the PR and branch as a new release. The
deploy itself requires credentials only available on the parent repo.

* add block themers as reviewers

* prefix tag with v

* add block themers as reviewers

* move version prefix to step where it's needed

* add deploy step name

* add trailing backslash

* remove reviewer

* add block-themers as reviewers for the release pr
2024-04-09 10:58:56 -04:00
Jason Crist
99a35c5d99
Use CORE for Font Management (#518)
Co-authored-by: Vicente Canales <vicente.canales@automattic.com>
2024-03-22 06:48:47 -04:00
Vicente Canales
1545d48b45
Add integration tests (#393)
* Add and configure PHPUnit

Co-authored-by: Jason Crist <jcrist@pbking.com>
2024-03-11 12:48:34 -04:00
Aki Hamano
f67f9215c1
GitHub Actions: Add JavaScript Unit Test (#508)
* GitHub Actions: Add JavaScript Unit Test

* Update names
2024-02-06 08:57:38 -03:00
Aki Hamano
cef22d8a4f
Add markdown and package.json lint command (#504) 2024-01-08 08:37:43 +00:00
Vicente Canales
3bd71e8b70
Actions: pull changes before updating changelog 2023-11-15 13:12:55 -03:00
Vicente Canales
d6fb04f9ad
Update google fonts on release instead of on a schedule (#461)
* Run google fonts update on release, automerge

* add missing & line end

* add --squash to pr merge

* split update and commit

* Uncomment repo check

It was commented out for testing on a fork.

* Remove date print on workflow log
2023-10-31 16:53:14 -03:00
Vicente Canales
d75db2a71b
Only run google font update on WordPress repo (#391) 2023-06-07 08:36:54 -04:00
Jeff Ong
3f773a5780
Merge pull request #257 from WordPress/fix-package-lock
fix package lock sync issue
2023-03-02 11:59:55 -05:00
madhusudhand
f8d20858a3 Add lint validation to PR workflows 2023-03-02 13:06:22 +05:30
madhusudhand
7b2e262bc3 fix package lock sync issue 2023-03-02 11:28:34 +05:30
Matias Benedetto
b685ad3c59 fix filename with a typo 2023-02-10 00:31:55 +07:00
Matias Benedetto
5531b973ed avoid linter checks on github actions commit commands 2023-02-10 00:28:36 +07:00
Matias Benedetto
6d3df2deb1 Revert "avoid pre commits verification on github actions to prevent action errors caused by linting problems"
This reverts commit 120d60018d.
2023-02-10 00:25:37 +07:00
Matias Benedetto
120d60018d avoid pre commits verification on github actions to prevent action errors caused by linting problems 2023-02-10 00:09:30 +07:00
Matias Benedetto
6157a80fc3 using auto generated release notes 2023-01-24 11:39:55 +08:00
Matias Benedetto
09fe65aaab debug github action 2023-01-24 10:45:11 +08:00
Matias Benedetto
12d9707279 testing github action without changelog 2023-01-24 10:42:10 +08:00
Matias Benedetto
ebcf55fe85 update action to avoid deprecation warning 2022-11-01 09:21:49 -03:00
Matias Benedetto
aa426d203c
Update deploy-to-dotorg.yml 2022-10-26 16:07:05 -03:00
Matias Benedetto
60a546a34b commit updated php file 2022-10-26 15:45:51 -03:00
Matias Benedetto
4faec4c1fd
Replacing tag name by version number 2022-10-26 14:51:37 -03:00
Matias Benedetto
9a7f4a3c49
Indicate VERSION to the deploy step of the release action 2022-10-26 14:38:38 -03:00
Matias Benedetto
c98e30c2c4
Disable version bbump and changelog writing 2022-10-26 13:58:48 -03:00
Matias Benedetto
f13ac2c27d Merge branch 'trunk' into release-action 2022-10-26 08:24:32 -03:00
Matias Benedetto
6ed4fc187e
Allow to run google fonts data action manually too 2022-10-26 08:13:22 -03:00
Matias Benedetto
598c572004
use the provided GITHUB_TOKEN 2022-10-25 22:45:17 -03:00
Matias Benedetto
1d0c7bb38d
Use the provided GITHUB_TOKEN 2022-10-25 22:44:08 -03:00
Matias Benedetto
674265538e automate build, version bump and changelog 2022-10-25 09:24:54 -03:00
Matias Benedetto
90f7d1c94f cron run every tuesday 2022-10-24 09:01:02 -03:00
Matias Benedetto
85407727a5
Use Github Actions bot user
Co-authored-by: Sarah Norris <sarah@sekai.co.uk>
2022-10-24 08:52:52 -03:00
Matias Benedetto
65618b4a3b Adding Github action to update google fonts JSON data 2022-10-03 12:44:45 -03:00
Jason Crist
1d8877594e
Update deploy-to-dotorg.yml
Fixed checkout action details
2022-07-27 09:48:48 -04:00
Jason Crist
4a6ad60456
Automate/deployment (#87)
* Added workflow to deploy plugin to WordPress.org
2022-07-27 09:43:55 -04:00