Skip to content

Commit 98e68da

Browse files
authored
fix: disable nightly releases for the forks (#2105)
* fix: disable nightly releases for the forks * fix: linting issues
1 parent 1d78a82 commit 98e68da

3 files changed

Lines changed: 32 additions & 31 deletions

File tree

.github/workflows/nightly-releases.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ on:
2222

2323
jobs:
2424
release_nightly_canary:
25+
if: github.repository_owner == 'wpengine'
2526
name: Release Nightly Canary
2627
runs-on: ubuntu-22.04
2728
steps:

packages/block-editor-utils/CHANGELOG.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@
3636
// Component.js
3737

3838
Component.config = {
39-
name: 'CreateBlockBlockB',
40-
editorFields: {
41-
textArea: {
42-
type: 'string',
43-
label: 'My Message',
44-
location: 'editor',
45-
control: 'textarea', // <--- Render a TextAreaControl field in the Gutenberg editor
46-
},
47-
},
39+
name: 'CreateBlockBlockB',
40+
editorFields: {
41+
textArea: {
42+
type: 'string',
43+
label: 'My Message',
44+
location: 'editor',
45+
control: 'textarea', // <--- Render a TextAreaControl field in the Gutenberg editor
46+
},
47+
},
4848
};
4949
```
5050

@@ -78,9 +78,9 @@
7878

7979
```js
8080
<div
81-
style={styles}
82-
className="rich-text"
83-
dangerouslySetInnerHTML={{ __html: attributes.richText }}
81+
style={styles}
82+
className="rich-text"
83+
dangerouslySetInnerHTML={{ __html: attributes.richText }}
8484
/>
8585
```
8686

@@ -131,9 +131,9 @@
131131
import save from './save';
132132

133133
registerFaustBlock(MyFirstBlock, {
134-
blockJson: metadata,
135-
editFn: Edit,
136-
saveFn: save,
134+
blockJson: metadata,
135+
editFn: Edit,
136+
saveFn: save,
137137
});
138138
```
139139

packages/faustwp-core/CHANGELOG.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@
3838
export default function Sitemap() {}
3939

4040
export function getServerSideProps(ctx) {
41-
return getSitemapProps(ctx, {
42-
sitemapIndexPath: '/sitemap_index.xml', // RankMath changes the default sitemap path to this
43-
frontendUrl: process.env.NEXT_PUBLIC_SITE_URL,
44-
sitemapPathsToIgnore: ['/wp-sitemap-users-*'],
45-
});
41+
return getSitemapProps(ctx, {
42+
sitemapIndexPath: '/sitemap_index.xml', // RankMath changes the default sitemap path to this
43+
frontendUrl: process.env.NEXT_PUBLIC_SITE_URL,
44+
sitemapPathsToIgnore: ['/wp-sitemap-users-*'],
45+
});
4646
}
4747
```
4848

@@ -146,7 +146,7 @@
146146
147147
```jsx
148148
<ToolbarItem onKeyDown={handleKeyDown} onClick={handleClick}>
149-
Log Out
149+
Log Out
150150
</ToolbarItem>
151151
```
152152
@@ -252,18 +252,18 @@
252252
import { FaustPage } from '@faustwp/core';
253253

254254
type GetPageData = {
255-
generalSettings: {
256-
title: string;
257-
};
255+
generalSettings: {
256+
title: string;
257+
};
258258
};
259259

260260
type PageProps = {
261-
myProp: string;
261+
myProp: string;
262262
};
263263

264264
const Page: FaustPage<GetPageData, PageProps> = (props) => {
265-
const { myProp, data } = props;
266-
return <></>;
265+
const { myProp, data } = props;
266+
return <></>;
267267
};
268268
```
269269
@@ -332,9 +332,9 @@
332332
export default function Sitemap() {}
333333

334334
export function getServerSideProps(context) {
335-
return getSitemapProps(context, {
336-
frontendUrl: process.env.FRONTEND_URL, // Set the FRONTEND_URL as an env var
337-
});
335+
return getSitemapProps(context, {
336+
frontendUrl: process.env.FRONTEND_URL, // Set the FRONTEND_URL as an env var
337+
});
338338
}
339339
```
340340
@@ -364,7 +364,7 @@
364364
import { FaustHooks, FaustPlugin } from '@faustwp/core';
365365

366366
export class MyPlugin implements FaustPlugin {
367-
apply(hooks: FaustHooks) {}
367+
apply(hooks: FaustHooks) {}
368368
}
369369
```
370370

0 commit comments

Comments
 (0)