File tree Expand file tree Collapse file tree 5 files changed +33
-9
lines changed Expand file tree Collapse file tree 5 files changed +33
-9
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,14 @@ module.exports = {
7171        } , 
7272      ] , 
7373    } , 
74+     { 
75+       // actions yml linter 
76+       files : [ '.github/**/*.yml' ] , 
77+ 
78+       rules : { 
79+         'yml/no-empty-mapping-value' : 0 , 
80+       } , 
81+     } , 
7482    { 
7583      // es linter 
7684      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 44  schedule :
55    - cron : ' 0 14 * * 5'   #  At 14:00 on Friday.
66  workflow_dispatch :
7-     inputs :
8-       fake_input :
9-         description : input needed to satisfy the yaml linter 
10-         required : false 
117
128jobs :
139  renovate :
Original file line number Diff line number Diff line change 44  schedule :
55    - cron : ' 30 6 * * 2' 
66  workflow_dispatch :
7-     inputs :
8-       fake_input :
9-         description : input needed to satisfy the yaml linter 
10-         required : false 
117
128jobs :
139  release :
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ async function pushToAlgoliaDoc(): Promise<void> {
2828    . map ( ( coAuthor )  =>  coAuthor . trim ( ) ) 
2929    . filter ( Boolean ) ; 
3030
31-   if  ( ! process . env . DRY_RUN  &&  ! lastCommitMessage . startsWith ( commitStartRelease ) )  { 
31+   if  ( ! process . env . FORCE  &&  ! lastCommitMessage . startsWith ( commitStartRelease ) )  { 
3232    return ; 
3333  } 
3434
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments