File tree Expand file tree Collapse file tree 2 files changed +29
-5
lines changed Expand file tree Collapse file tree 2 files changed +29
-5
lines changed Original file line number Diff line number Diff line change 2626        uses : TheAlgorithms/scripts/formatter@main 
2727        with :
2828          filetypes : .c,.h 
29-       - name : Update DIRECTORY.md 
30-         run : | 
31-           wget https://raw.githubusercontent.com/TheAlgorithms/scripts/main/build_directory_md.py 
32-           python3 build_directory_md.py C . .c,.h leetcode/ > DIRECTORY.md 
33-           git commit -m "updating DIRECTORY.md" DIRECTORY.md || true  
3429      - name : Get file changes 
3530        run : | 
3631          git branch 
Original file line number Diff line number Diff line change 1+ name : Directory writer 
2+ on :
3+   schedule :
4+   #         ┌───────────── minute (0 - 59)
5+   #         │  ┌───────────── hour (0 - 23)
6+   #         │  │ ┌───────────── day of the month (1 - 31)
7+   #         │  │ │ ┌───────────── month (1 - 12 or JAN-DEC)
8+   #         │  │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
9+   #         │  │ │ │ │
10+   #         │  │ │ │ │
11+   #         │  │ │ │ │
12+   #         *  * * * *
13+   - cron : ' 0 0 * * *' 
14+   workflow_dispatch :
15+ jobs :
16+   build :
17+     if : github.repository == 'TheAlgorithms/C'  #  We only need this to run in our repository.
18+     runs-on : ubuntu-latest 
19+     steps :
20+       - uses : actions/checkout@v3 
21+         with :
22+           fetch-depth : 0 
23+       - name : Build directory 
24+         uses : TheAlgorithms/scripts/directory_md@main 
25+         with :
26+           language : C 
27+           working-directory : . 
28+           filetypes : .c,.h 
29+           ignored-directories : leetcode/,scripts/ 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments