Commit graph

34 commits

Author SHA1 Message Date
Vicente Canales
b790c0152a
Revert to using pull_request as the event trigger (#7782) 2024-04-28 21:40:01 -04:00
Vicente Canales
0509fc2f59
Workflow security issue (#7778)
* split workflow; checkout create-preview-links from trunk

* split changed themes by ,

* revert test values
2024-04-27 20:38:22 -04:00
Vicente Canales
b8eaf67fcc
make sure workflow runs on PR base branch (#7772)
wip

checkout pr branch and fetch origin

e
2024-04-26 12:30:46 -04:00
Vicente Canales
3f87042114
Use pull_request_target to avoid token restriction (#7771)
Due to restrictions imposed to the `GH_TOKEN` when forks are created
from forks when workflows are triggered by the pull_request event, I'm
switching the execution to be done on `pull_request_trigger`, which
lifts said restrictions.

Docs: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target

> This event runs in the context of the base of the pull request, rather
than in the context of the merge commit, as the pull_request event does.
This prevents execution of unsafe code from the head of the pull request
that could alter your repository or steal any secrets you use in your
workflow. This event allows your workflow to do things like label or
comment on pull requests from forks. Avoid using this event if you need
to build or run code from the pull request.
2024-04-26 12:04:50 -04:00
Vicente Canales
8d3da22b11
Generate playground previews for themes (#7719)
Co-authored-by: Sarah Norris <sarah@sekai.co.uk>
2024-04-24 10:54:56 -04:00
Jeremy Herve
9dc15869ee
Gardening action: enable new board automation task (#7412) 2023-10-09 14:59:08 +02:00
Vicente Canales
19ddb0ba32
Add dotcom theme launch checklist issue template (#7025) 2023-04-20 13:53:59 -04:00
Jeremy Herve
fb7e01098b
Repo gardening: update to use new consolidated task (#7009) 2023-04-13 16:07:35 +02:00
Jeremy Herve
f7b3fb7801
Gardening: add Kitkat notification mechanism (#6891) 2023-03-06 08:34:49 +01:00
Jeremy Herve
a2b3d02e89
Actions: add Repo gardening action (#6244)
* Actions: add Repo gardening action

More details about the action here:
https://github.com/Automattic/action-repo-gardening

The action is already used in the Calypso and Jetpack repos.

I've enabled 5 of the tasks the action offers so far:

1. Assign Issues (`assignIssues`): Adds assignee for issues which are being worked on, and adds the "In Progress" label.
2. Clean Labels (`cleanLabels`): Removes Status labels once a PR has been merged.
3. Flag OSS (`flagOss`): flags entries by external contributors, adds an "OSS Citizen" label to the PR, and sends a Slack message to the #themes channel.
4. Triage New Issues (`triageNewIssues`): Adds labels to new issues based on issue content.
5. Gather support references (`gatherSupportReferences`): Adds a new comment with a list of all support references on the issue. More details about this in pcLjiI-Rb-p2

* Add new Issue template for bug reports

* Enable newer tasks

- Prompt to reply to customers when an issue is finally closed after having gathered a lot of tickets. Reference: pcLjiI-Ro-p2
- Slack message when an opened issue starts gathering a lot of tickets. Reference: pciE2j-1iy-p2

* Remove unneeded tasks for now.
2022-08-19 16:13:10 -04:00
Maggie
9a707f95ae
remove label on comment, change order of batches and cronjob schedule (#5878) 2022-04-18 17:10:56 +02:00
Maggie
2ac45db567
Tools: Action to label Stale commits and PRs (#5852)
* Tools: Action to label Stale commits and PRs

What the title says!

Closes https://github.com/Automattic/themes/issues/5850

* added message
2022-04-13 15:26:46 +02:00
Jason Crist
306afaedf0
Automate/dotorgdeploy (#5361) 2022-01-20 09:10:44 -05:00
Jeff Ong
5040c1cdd6 Rename BCB to blockbase. 2021-05-25 09:47:53 +01:00
Jeff Ong
37a6d1a1d0
Update deploy to run on trunk 2021-05-06 08:09:59 -07:00
Jeff Ong
b1909b1cfc
Make: Quadrat (#3648)
* Scaffolding a universal theme plus basic typography and color palette.

* fixed do_blocks routes and override index.html from BCB

* added header and footer templates

* changed query to post content block

* commented with the GB issue

* Quadrat: Add new heading sizes and other small misc changes (#3649)

* Quadrat: Add new heading sizes

* Quadrat: Further work on Lists and Quotes

* Quadrat: Remove whitespace

* Quadrat: Add responsive Heading font-sizes

* Fix typo.

* Recompile.

* remove older deploy actions and adding quadrat deploy action (#3655)

* Add the hosts block pattern. (#3662)

* Add the hosts block pattern.

* Fix categories.

* Update img refs.

* Add alt text to media text pattern.

* Revise block pattern names.

* Add text domain.

* Quadrat: override BCB's templates with php ones (#3667)

* override BCB's templates with php ones

* Revert unrelated changes to Seedlet Blocks that are not in trunk.

* Quadrat: Add responsive Paragraph styles and start styling the Code b… (#3663)

* Quadrat: Add responsive Paragraph styles and start styling the Code block

* Quadrat: Remove Code block styling

* Revise heading max vw.

Co-authored-by: Jeff Ong <jonger4@gmail.com>

* Quadrat: Add Latest episodes block pattern (#3665)

* added Latest episodes block pattern

* translatable strings

* staging url for media

* rebased, updated texts and adjusted paddings

* added a group with padding to the blocks

* Body line-height to 1.7.

Co-authored-by: Jeff Ong <jonger4@gmail.com>

* Add menu locations to quadrat

* Remove disconnected changes

* Remove footer menu location

* rebuild theme.json

* Quadrat: Add Quote block styles

* Tightened up the line-height and lessened the space between quote and citation.

* Remove properties that already exist in the parent theme

* Remove quote sass include and rebuild.

* Quadrat: Add list styles

* Removed variable usage for list item style

* Updated list styles to be more correcter

* Try/header template part wrapped (#3714)

* Modified site-title styles to match comps

* Added a navigation rendering function to render the navigation block based on a classic data source, wrap the output in an HTML block to be inserted anywhere blocks are do_block()'ed

* Added a header template part that leverages the rendered navigation block markup

* Replaced usage of navigation block template with new template-part

* Added styles for header for proper layout unachievable with blocks.

* Quadrat: Style the Code block

* Remove unneeded declarations

* Removed font-changing settings on code block

* Quadrat: add cover pattern (#3676)

* Try using svg for block pattern.

* Try mask-image instead.

* move the svg to a before pseudoelement

* refactored the pseudoelements

* fix for the editor interaction when cover block is highlighted

* Add block pattern.

* Use a transparent div instead of svg. Simplify how color of the diamond is set.

* Rotate closer to the design.

* Use background image with svg and mix-blend-mode.

* made block pattern wide aligned

* created exceptions bof black and white

* changes to fit the design, lowered opacity on black and white versions

* Add autoprefixing to Quadrat

* removed error from rebase

* removed unnecessary z-index, linting

* z-index added

* Scope CSS to cover block.

* :: for consistency.

Co-authored-by: Maggie Cabrera <maggie.cabrera@automattic.com>
Co-authored-by: Ben Dwyer <ben@scruffian.com>

* removes template hack

* Quadrat: Add Episode block pattern (#3695)

* create episode pattern

* added group wrapper for padding

* correct url for image

* typo

* update to use media and text

* changed the url of the image, added alt content and em tag

* remove unneeded class, added wrapper for bottom padding

* Scope the 0 padding to text content without a background.

* Remove group, add spacer. Fix local image ref.

Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Jeff Ong <jonger4@gmail.com>

* Change colors used in theme.json from descreptive to semantic (#3725)

* Change colors used in theme.json from descreptive to semantic

* semanticizing the color

* formatting

* also changed the child theme.json

* Quadrat: Add table styles (#3719)

* Quadrat: Add styles for tables

* Add tbody for extra specificity

* Add a border to the top of the first row

* Remove text-align.

Co-authored-by: Jeff Ong <jonger4@gmail.com>

* Allowing overflow of group-wrapped navigation (#3732)

* Update screenshot.png (#3735)

* Quadrat: Add page templates (#3721)

* Rebase trunk.

* Revise footer.

* Add CSS for the next/prev links

* Continue rebase.

* remove test code

* used gutenberg_block_template_part to load template parts on php templates

* Remove testing text

* alignment tweaks

* Add separate templates for page and post.

* Restore header wrapper that was accidentally removed in rebase.

* Template tweaks.

* Add page block template.

Co-authored-by: Jeff Ong <jonger4@gmail.com>
Co-authored-by: Maggie Cabrera <maggie.cabrera@automattic.com>

* Make index query inherit query string.

* Update screenshot.png (#3742)

* Quadrat: Add CSS for a featured image

* Quadrat: Headlines and Buttons Block Pattern (#3744)

* created block pattern

* padding rules for mobile

* added new class to all the group blocks

* Remove all padding from text content on mobile.

Co-authored-by: Jeff Ong <jonger4@gmail.com>

* Change hover rules for buttons

* Add hover styles for buttons and links

* Remove background color from buttons. (#3752)

* Quadrat: Add the listen pattern

* refactor patterns to single files

* move utility classes to BCB

* refactor listen to the podcast

* Quadrat: Add a join pattern

* Make the pattern wide

* Check the class exists before calling it

* Make sure the plugin is loaded before adding the pattern

* Move the block pattern CSS to a new file

Co-authored-by: Maggie Cabrera <maggie.cabrera@automattic.com>
Co-authored-by: Daniel Dudzic <daniel.dudzic@automattic.com>
Co-authored-by: Jason Crist <jcrist@pbking.com>
Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Kjell Reigstad <kjell.reigstad@automattic.com>
2021-05-06 08:06:23 -07:00
Jeff Ong
b9e70f36dd
Seedlet Blocks: bring up-to-date with GB 10.3 (#3620)
* Overwrite existing array instead of concatenating

* Brought in child build process

* refactored Seedlet Blocks to be a child of Blank-Canvas-Blocks

* Font, template and configuration changes to align with Seedlet.

* inverted font parings to be correct

* Make post titles a link

* Add entry meta in the footer

* Add entry meta to seedlet blocks

* Add post meta to singular

* Add author bio on singular template

* Remove the troublesome 'theme' metadata

* Add author bios and a footer credit

* Added Seedlet Block Dev server deploy action

* Include SB-BCB BCB in deploy action

* Separated names of steps

* make Mayland a bcb child, change typography variables

* rebuilt theme.json file with new build tools

* removed alignments css

* defined layout for the theme

* fixed hover states for buttons on bcb

* updated color variables for mayland

* move the google font definitions to theme.json

* Corrected Button style definitions and removed duplication of collections in child theme.json file

* added new post meta template part

* added template part to json, changed font sizes

* overriden icons

* changed color to meta links

* added post tags to meta

* added template part to index template too

* Adding SCSS build + watch workflow to Seedlet Blocks (#3575)

* Adding SCSS build + watch workflow to Seedlet Blocks

* Fix seedlet-bcb site title (#3576)

* Added site title block themes from original Seedlet theme

* Adjusted links to match Seedlet. (#3578)

* Refactored build scripts to standardize (#3579)

* Refactored build scripts to standardize. 'start' and 'build' script targets.
* Added a start:child script target

Co-authored-by: Ben Dwyer <ben@scruffian.com>

* Changed target of the dev branch

* Update template parts syntax in seedlet blocks

* remove theme slugs from templates

* Make the pony fill a dependency of mayland blocks so that it loads first

* Seedlet Blocks: Update blocks .scss file names to adhere to the SASS naming convention for partials

* Remove _ from the import

* Fix/seedlet bcb pullquote (#3580)

* Adjust styles for Seedlet BCB to match Seedlet
* Added font family to citation custom styles.
* Made margins above citation configurable.
* Inheriting Line Height so it can be set via styles.
* Added ponyfill as theme style dependency so child theme would win CSS specificity battle ties

Co-authored-by: Jeff Ong <jeff.ong@automattic.com>

* rebuilt theme.json and theme.css from last merge

* Blank Canvas Blocks: Remove unnecessary priority parameter from ponyfill css load (#3603)

* Add/bcb index query (#3604)

* Add site-logo to BCB header and centered it
* Add index template (with header and footer) with query loop

Co-authored-by: Kjell Reigstad <kjell@kjellr.com>

* Style seedlet bcb latest post Block (#3597)

* Added latest post block styling
* Register latest post block pattern from Seedlet
* Added latest post block styles
Co-authored-by: Jeff Ong <jeff.ong@automattic.com>

* Fix bad merge.

* Check in compiled styles.

* Fix link colors in the editor.

* removed supports that are on the parent theme (#3594)

* Cherry pick changes to seedlet.

* Remove unrelated mayland blocks change.

Co-authored-by: Jason Crist <jcrist@pbking.com>
Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Maggie Cabrera <maggie.cabrera@automattic.com>
Co-authored-by: Daniel Dudzic <daniel.dudzic@automattic.com>
Co-authored-by: Kjell Reigstad <kjell@kjellr.com>
2021-04-08 08:51:47 -07:00
Jason Crist
7bedb8118b Fixing deployment destination target 2021-03-09 13:49:29 -05:00
Jason Crist
97e3bad1c8 Changes to deploy action 2021-03-09 11:41:19 -05:00
Jason Crist
5c0618acc9 Correcting BCB Demo Depoloyment Action 2021-03-09 10:53:06 -05:00
Jason Crist
9e19b2dab3
Update bcb_demo_deploy.yml 2021-03-09 10:27:02 -05:00
Jason Crist
d2bdb0f6f3
Create bcb_demo_deploy.yml 2021-03-09 10:15:34 -05:00
Ben Dwyer
9fdfff7974
Update our issue template (#3228) 2021-02-09 21:11:22 -05:00
Laurel
9d41eda2e0
Update ISSUE_TEMPLATE.md 2019-01-24 14:11:27 -08:00
Caroline Moore
198afb4282
Updated contribution template
Fixes URL to repo to use correct slug /themes instead of /free-themes
2018-02-05 12:42:39 -05:00
Caroline Moore
1b0c8b70d9
Update CONTRIBUTING.md
Based on _s, first draft of contribution guide.
2018-01-26 14:21:49 -05:00
Caroline Moore
8de71c4bb9
Rename pull_request_template.md to PULL_REQUEST_TEMPLATE.md
Updating filename to match uppercase with other doc files.
2018-01-26 13:56:04 -05:00
Caroline Moore
64bff27c03
Update pull_request_template.md
Add PR template contents based on _s
2018-01-26 13:55:25 -05:00
Caroline Moore
72db671ffa
Update ISSUE_TEMPLATE.md
Simplify markup to use shorthand rather than tags.
2018-01-26 13:54:13 -05:00
Caroline Moore
26da5e85fb
Rename issue_template.md to ISSUE_TEMPLATE.md 2018-01-26 13:53:24 -05:00
Caroline Moore
e52a7cd503
Create contribution starter doc file
We'll add content to this later.
2018-01-26 13:53:01 -05:00
Caroline Moore
15034ff640
Add issues template. 2018-01-25 09:45:56 -05:00
Caroline Moore
a4bb435390
Update PR template to remove Issue contents.
Oops, this should have been an issue template. Leaving PR template blank for now.
2018-01-25 09:45:02 -05:00
Caroline Moore
6cf4801825
Create pull request template for new Issues. 2018-01-25 09:38:04 -05:00