Skip to content

Commit 94e69be

Browse files
Merge branch 'main' into user/side-editor-preview-beta
2 parents 116b7b0 + f4b97d0 commit 94e69be

32 files changed

+133
-114
lines changed

.github/workflows/block-labeled-prs.yml

Lines changed: 31 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ name: Block PRs with specific labels
33
on:
44
pull_request:
55
types: [opened, labeled, unlabeled, synchronize]
6+
branches:
7+
- main
8+
- next
9+
push:
10+
branches:
11+
- main
12+
- next
613

714
jobs:
815
check-labels:
@@ -14,21 +21,29 @@ jobs:
1421
with:
1522
github-token: ${{ secrets.GITHUB_TOKEN }}
1623
script: |
24+
// Define blocking labels
1725
const blockingLabels = ["flag: don't merge", "flag: merge pending release"];
18-
const { data: labels } = await github.rest.issues.listLabelsOnIssue({
19-
owner: context.repo.owner,
20-
repo: context.repo.repo,
21-
issue_number: context.issue.number
22-
});
2326
24-
const labelNames = labels.map(label => label.name);
25-
const blockedLabels = labelNames.filter(label =>
26-
blockingLabels.includes(label.toLowerCase())
27-
);
28-
29-
if (blockedLabels.length > 0) {
30-
core.setFailed(`PR cannot be merged because it has the following blocking labels: ${blockedLabels.join(', ')}`);
31-
return;
32-
}
33-
34-
console.log('No blocking labels found, PR can be merged');
27+
// Check if this is a pull request event
28+
if (context.payload.pull_request) {
29+
const { data: labels } = await github.rest.issues.listLabelsOnIssue({
30+
owner: context.repo.owner,
31+
repo: context.repo.repo,
32+
issue_number: context.issue.number
33+
});
34+
35+
const labelNames = labels.map(label => label.name);
36+
const blockedLabels = labelNames.filter(label =>
37+
blockingLabels.includes(label.toLowerCase())
38+
);
39+
40+
if (blockedLabels.length > 0) {
41+
core.setFailed(`PR cannot be merged because it has the following blocking labels: ${blockedLabels.join(', ')}`);
42+
return;
43+
}
44+
45+
console.log('No blocking labels found, PR can be merged');
46+
} else {
47+
// If this is a direct push, allow it to pass without checking
48+
console.log('This is a direct push event, not a PR. Skipping label check.');
49+
}

docusaurus/docs/cloud/getting-started/cloud-fundamentals.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ Before going any further into this Strapi Cloud documentation, we recommend you
1414

1515
- **Hosting Platform** <br/> Strapi Cloud is a hosting platform that allows to deploy already existing Strapi projects created with Strapi CMS (Content Management System). Strapi Cloud is *not* the SaaS (Software as a Service) version of Strapi CMS. Feel free to refer to the [Developer Documentation](https://docs.strapi.io/dev-docs/intro) and [User Guide](https://docs.strapi.io/user-docs/intro) to learn more about Strapi CMS.
1616

17-
- **Strapi Cloud Pricing Plans** <br/> As a Strapi Cloud user you have the choice between 3 tiers: Developer, Pro and Team. Depending on the tier, you have access to different functionalities, support and customization options (see [Pricing page](https://strapi.io/pricing-cloud) for more details). In this Strapi Cloud documentation, the <CloudDevBadge />, <CloudProBadge />, and <CloudTeamBadge /> badges can be displayed below a section's title to indicate for which tier the feature is available.
17+
- **Strapi Cloud Pricing Plans** <br/> As a Strapi Cloud user you have the choice between 3 tiers: Essential, Pro and Scale. Depending on the tier, you have access to different functionalities, support and customization options (see [Pricing page](https://strapi.io/pricing-cloud) for more details). In this Strapi Cloud documentation, the <CloudEssentialBadge />, <CloudProBadge />, and <CloudScaleBadge /> badges can be displayed below a section's title to indicate for which tier the feature is available.
1818

1919
- **Strapi CMS features** <br/> The Strapi Cloud plans include some Strapi CMS features (see [Pricing page](https://strapi.io/pricing-cloud) for more details). These features, highlighted with a <GrowthBadge /> or an <EnterpriseBadge /> badge, are documented in the [User Guide](https://docs.strapi.io/user-docs/intro) and the [Developer Documentation](https://docs.strapi.io/dev-docs/intro).
2020

2121
- **Types of Strapi Cloud users** <br/> There can be 2 types of users on a Strapi Cloud project: owners and maintainers. The owner is the one who has created the project and has therefore access to all features and options for the project. Maintainers are users who have been invited to contribute to an already created project by its owner. Maintainers, as documented in the [Collaboration](/cloud/projects/collaboration) page, cannot view and access all features and options from the Strapi Cloud dashboard.
2222

23-
- **Support** <br/> The level of support provided by the Strapi Support team depends on the Strapi Cloud tier you subscribed for. The Developer and Pro tiers include Basic support while the Team tier includes Standard support. Please refer to the [dedicated support article](https://support.strapi.io/support/solutions/articles/67000680833-what-is-supported-by-the-strapi-team#Not-Supported) for all details regarding support levels.
23+
- **Support** <br/> The level of support provided by the Strapi Support team depends on the Strapi Cloud tier you subscribed for. The Essential and Pro tiers include Basic support while the Scale tier includes Standard support. Please refer to the [dedicated support article](https://support.strapi.io/support/solutions/articles/67000680833-what-is-supported-by-the-strapi-team#Not-Supported) for all details regarding support levels.

docusaurus/docs/cloud/getting-started/deployment.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ Before you can deploy your Strapi application on Strapi Cloud using the Cloud da
6060
<ThemedImage
6161
alt="Strapi Cloud project creation, step 1"
6262
sources={{
63-
light: '/img/assets/cloud/project-creation-1.1.png',
64-
dark: '/img/assets/cloud/project-creation-1.1_DARK.png',
63+
light: '/img/assets/cloud/project-creation-1.png',
64+
dark: '/img/assets/cloud/project-creation-1_DARK.png',
6565
}}
6666
/>
6767

68-
3. Choose a plan for your Strapi Cloud project: either Developer, Pro, Team, or the 14-days free trial. Feel free to refer to [Pricing](https://strapi.io/pricing-cloud) for more information.
68+
3. Choose a plan for your Strapi Cloud project: either Essential, Pro, Scale, or the 14-days free trial. Feel free to refer to [Pricing](https://strapi.io/pricing-cloud) for more information.
6969

7070
:::note Notes
7171
- Strapi Cloud offers a free trial for only one project and you will not need to share your credit card details to deploy your first project. Once the free trial has already been used for a previous project, the option will no longer appear in the plan selection.

docusaurus/docs/cloud/getting-started/usage-billing.md

Lines changed: 7 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -15,63 +15,36 @@ tags:
1515

1616
This page contains general information related to the usage and billing of your Strapi Cloud account and projects.
1717

18-
Strapi Cloud offers a free 14 days trial for all new accounts, and 3 paid plans: Developer, Pro and Team (see [Pricing page](https://strapi.io/pricing-cloud)). The table below summarises Strapi Cloud usage-based pricing tiers, for general features & usage, CMS features and Cloud specific features:
18+
Strapi Cloud offers a free 14 days trial for all new accounts, and 3 paid plans: Essential, Pro and Scale (see [Pricing page](https://strapi.io/pricing-cloud)). The table below summarises Strapi Cloud usage-based pricing tiers, for general features & usage and Cloud specific features:
1919

20-
| Feature | Free Trial | Developer | Pro | Team |
20+
| Feature | Free Trial | Essential | Pro | Scale |
2121
| --- | --- | --- | --- | --- |
22-
| **Seats** | 10 | 1 (up to 2 extra) | 5 (up to 15 extra) | 10 (up to 40 extra) |
23-
| **Database Entries** | 1,000 | 1,000 | 100,000 | 1,000,000 |
24-
| **Assets Storage** | 5GB | 15GB | 150GB | 500GB |
25-
| **Assets Bandwidth** | 50GB | 50GB per month | 500GB per month | 1,000GB per month |
22+
| **Database Entries** | 2,500 | Unlimited* | Unlimited* | Unlimited* |
23+
| **Assets Storage** | 25GB | 50GB | 250GB | 1000GB |
24+
| **Assets Bandwidth (per month)** | 25GB | 50GB | 500GB | 1,000GB |
2625
| **API Requests** | 10,000 | 100,000 | 1,000,000 | 10,000,000 |
2726
| | | | | |
28-
| **Audit Logs** | 7 days retention | N/A | N/A | 7 days retention |
29-
| **Releases** | 3 pending releases | N/A | N/A | 3 pending releases |
30-
| **Review Workflows** | up to 2 | N/A | N/A | up to 2 |
31-
| **Content History** | 14 days retention | N/A | 14 days retention | 90 days retention |
32-
| | | | | |
3327
| **Backups** | N/A | N/A | Weekly | Daily |
3428
| **Environments** | N/A | N/A | 0 included (up to 99 extra) | 1 included (up to 99 extra) |
29+
| **Emails (per month)** | 100 | Unlimited* | Unlimited* | Unlimited* |
3530

3631
:::strapi Additional information on usage and features
3732
- General features & usage:
38-
- Seats are the maximum number of users that can access the Strapi admin panel.
3933
- Database entries are the number of entries in your database.
4034
- Assets storage is the amount of storage used by your assets.
4135
- Assets bandwidth is the amount of bandwidth used by your assets.
4236
- API requests are the number of requests made to your APIs. This includes requests to the GraphQL and REST APIs, excluding requests for file and media assets counted towards CDN bandwidth and storage.
43-
- CMS features:
44-
- Audit Logs refers to the maximum number of days for which the feature retains the activities that happened (see [Audit Logs in User Guide](/user-docs/settings/audit-logs) for more information).
45-
- Releases refers to the maximum number of pending releases that can be created (see [Releases in User Guide](/user-docs/releases/introduction) for more information).
46-
- Review Workflows refers to the maximum number of workflows that can be created and used (see [Review Workflows in User Guide](/user-docs/settings/review-workflows) for more information).
47-
- Content History refers to the maximum numbers of days kept in history (see [Content History in User Guide](/user-docs/content-manager/working-with-content-history))
4837
- Cloud specific feature:
4938
- Backups refers to the automatic backups of Strapi Cloud projects (see [Backups documentation](/cloud/projects/settings#backups) for more information on the feature).
5039
- Environments refers to the number of environments included in the plan on top of the default production environment (see [Environments](/cloud/projects/settings#environments) documentation for more information on the feature).
5140
:::
5241

5342
## Environments management
5443

55-
Environments are isolated instances of your Strapi Cloud project. All projects have a default production environment, but other additional environments can be configured for projects on a Pro or Team plan, from the *Environments* tab of a project's settings (see [Environments](/cloud/projects/settings#environments)). There is no limit to the number of additional environments that can be configured for a Strapi Cloud project.
44+
Environments are isolated instances of your Strapi Cloud project. All projects have a default production environment, but other additional environments can be configured for projects on a Pro or Scale plan, from the *Environments* tab of a project's settings (see [Environments](/cloud/projects/settings#environments)). There is no limit to the number of additional environments that can be configured for a Strapi Cloud project.
5645

5746
The usage limits of additional environments are the same as for the project's production environment (e.g. an additional environment on the Pro plan will be limited at 150GB for assets storage, and overages will be charged the same way as for the production environment). Note however that the assets bandwidth and API calls are project-based, not environment-based, so these usage limits do not change even with additional environments.
5847

59-
## Seats management
60-
61-
Seats represent the maximum number of users that can access the Strapi admin panel. Each plan comes with a default number of seats.
62-
63-
You can add more seats either by upgrading to a higher plan, or manually adding individual seats as desired. Seats can be added from the <Icon name="credit-card" /> *Billing & Usage* tab of a project's settings (see [Managing project's number of seats](/cloud/projects/settings#managing-projects-number-of-seats)).
64-
65-
There is however a maximum number of seats that can be added per plan:
66-
67-
| Plan | Maximum Seats |
68-
| --- | --- |
69-
| **Free Trial** | 10 |
70-
| **Developer** | 3 |
71-
| **Pro** | 20 |
72-
| **Team** | 50 |
73-
74-
7548
## Billing
7649

7750
Billing is based on the usage of your Strapi Cloud account and projects. You will be billed monthly for the usage of your account and applications. You can view your usage and billing information in the [Billing](https://cloud.strapi.io/profile/billing) section of your Strapi Cloud account.

0 commit comments

Comments
 (0)