File tree Expand file tree Collapse file tree 8 files changed +36
-22
lines changed Expand file tree Collapse file tree 8 files changed +36
-22
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,14 @@ module.exports = {
71
71
} ,
72
72
] ,
73
73
} ,
74
+ {
75
+ // actions yml linter
76
+ files : [ '.github/**/*.yml' ] ,
77
+
78
+ rules : {
79
+ 'yml/no-empty-mapping-value' : 0 ,
80
+ } ,
81
+ } ,
74
82
{
75
83
// es linter
76
84
files : [ '*.ts' , '*.js' ] ,
Original file line number Diff line number Diff line change
1
+ name : Push specs and snippets to Algolia doc
2
+
3
+ on : workflow_dispatch
4
+
5
+ jobs :
6
+ release :
7
+ name : Scheduled Release
8
+ runs-on : ubuntu-22.04
9
+ steps :
10
+ - uses : actions/checkout@v4
11
+ with :
12
+ fetch-depth : 0
13
+ ref : main
14
+
15
+ - name : Setup
16
+ id : setup
17
+ uses : ./.github/actions/setup
18
+ with :
19
+ type : minimal
20
+
21
+ - run : yarn workspace scripts pushToAlgoliaDoc
22
+ env :
23
+ GITHUB_TOKEN : ${{ secrets.ALGOLIA_BOT_TOKEN }}
24
+ FORCE : true
Original file line number Diff line number Diff line change 4
4
schedule :
5
5
- cron : ' 0 14 * * 5' # At 14:00 on Friday.
6
6
workflow_dispatch :
7
- inputs :
8
- fake_input :
9
- description : input needed to satisfy the yaml linter
10
- required : false
11
7
12
8
jobs :
13
9
renovate :
Original file line number Diff line number Diff line change 4
4
schedule :
5
5
- cron : ' 30 6 * * 2'
6
6
workflow_dispatch :
7
- inputs :
8
- fake_input :
9
- description : input needed to satisfy the yaml linter
10
- required : false
11
7
12
8
jobs :
13
9
release :
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ async function pushToAlgoliaDoc(): Promise<void> {
28
28
. map ( ( coAuthor ) => coAuthor . trim ( ) )
29
29
. filter ( Boolean ) ;
30
30
31
- if ( ! process . env . DRY_RUN && ! lastCommitMessage . startsWith ( commitStartRelease ) ) {
31
+ if ( ! process . env . FORCE && ! lastCommitMessage . startsWith ( commitStartRelease ) ) {
32
32
return ;
33
33
}
34
34
Original file line number Diff line number Diff line change 88
88
version : 1.0.0
89
89
servers :
90
90
- url : https://crawler.algolia.com/api
91
- description : The main URL of the Crawler API.
92
- - url : https://crawler-dev.algolia.com/api
93
- description : >-
94
- The URL of the development version of the Crawler API (Algolia employees
95
- only).
91
+ description : The URL of the Crawler API.
96
92
security :
97
93
- BasicAuth : []
98
94
tags :
Original file line number Diff line number Diff line change 88
88
version : 1.0.0
89
89
servers :
90
90
- url : https://crawler.algolia.com/api
91
- description : The main URL of the Crawler API.
92
- - url : https://crawler-dev.algolia.com/api
93
- description : >-
94
- The URL of the development version of the Crawler API (Algolia employees
95
- only).
91
+ description : The URL of the Crawler API.
96
92
security :
97
93
- BasicAuth : []
98
94
tags :
Original file line number Diff line number Diff line change @@ -59,9 +59,7 @@ components:
59
59
scheme : basic
60
60
servers :
61
61
- url : https://crawler.algolia.com/api
62
- description : The main URL of the Crawler API.
63
- - url : https://crawler-dev.algolia.com/api
64
- description : The URL of the development version of the Crawler API (Algolia employees only).
62
+ description : The URL of the Crawler API.
65
63
security :
66
64
- BasicAuth : []
67
65
tags :
You can’t perform that action at this time.
0 commit comments