File tree Expand file tree Collapse file tree 4 files changed +19
-16
lines changed Expand file tree Collapse file tree 4 files changed +19
-16
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ name: "Verify Branch"
33
44on :
55  #  push:
6-     #  branches:
7-     #    - main
6+   #    branches:
87    #    - dev
98  #  schedule:
109    #  - cron:  '00 16 * * *'
@@ -31,24 +30,24 @@ jobs:
3130  docs-build :
3231    if : ${{ inputs.html || github.event_name == 'push' }} 
3332    name : Generate HTML 
34-     uses : neo4j/docs-tools/.github/workflows/reusable-docs-build.yml@dev  
33+     uses : neo4j/docs-tools/.github/workflows/reusable-docs-build.yml@v1.0.3  
3534    with :
3635      retain-artifacts : 14 
3736      deploy-id : 0 
3837
3938  docs-verify :
4039    name : Verify HTML 
4140    needs : docs-build 
42-     uses : neo4j/docs-tools/.github/workflows/reusable-docs-verify.yml@dev  
41+     uses : neo4j/docs-tools/.github/workflows/reusable-docs-verify.yml@v1.0.3  
4342
4443  docs-links :
4544    if : ${{ inputs.links || github.event_name == 'push' }} 
4645    name : Check links 
4746    needs : docs-build 
48-     uses : neo4j/docs-tools/.github/workflows/reusable-docs-links.yml@dev  
47+     uses : neo4j/docs-tools/.github/workflows/reusable-docs-links.yml@v1.0.3  
4948
5049  docs-lint :
5150    if : ${{ inputs.lint || github.event_name == 'push' }} 
5251    name : Lint docs 
53-     uses : neo4j/docs-tools/.github/workflows/reusable-docs-vale .yml@dev  
52+     uses : neo4j/docs-tools/.github/workflows/reusable-docs-lint .yml@v1.0.3  
5453
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ name: "Deploy docs preview"
1010
1111on :
1212  workflow_run :
13-     workflows : ["Verify docs  PR"] 
13+     workflows : ["Verify Docs  PR"] 
1414    types :
1515      - completed 
1616
8080      #  The changelog contains links to new and changed files in the deployed docs
8181      - name : Comment on PR (changelog) 
8282        if : ${{ hashFiles('changelog') != '' }} 
83-         uses : marocchino/sticky-pull-request-comment@v2  
83+         uses : marocchino/sticky-pull-request-comment@efaaab3fd41a9c3de579aba759d2552635e590fd   # v2.8.0 
8484        with :
8585          number : ${{ steps.get-deploy-id.outputs.deploy-id }} 
8686          recreate : true 
9393        if : ${{ hashFiles('changelog') == '' }} 
9494        env :
9595          DEPLOY_URL : ${{ steps.get-deploy-url.outputs.deploy-url }} 
96-         uses : marocchino/sticky-pull-request-comment@v2  
96+         uses : marocchino/sticky-pull-request-comment@efaaab3fd41a9c3de579aba759d2552635e590fd   # v2.8.0 
9797        with :
9898          number : ${{ steps.get-deploy-id.outputs.deploy-id }} 
9999          header : docs-pr-changes 
Original file line number Diff line number Diff line change 11
2- name : " Verify docs  PR" 
2+ name : " Verify Docs  PR" 
33
44on :
55  pull_request :
1010
1111  #   Generate HTML
1212  docs-build-pr :
13-     uses : neo4j/docs-tools/.github/workflows/reusable-docs-build.yml@main  
13+     uses : neo4j/docs-tools/.github/workflows/reusable-docs-build.yml@v1.0.3  
1414    with :
1515      deploy-id : ${{ github.event.number }} 
1616      retain-artifacts : 14 
2020  #  By default, the job fails if there are errors, passes if there are warnings only.
2121  docs-verify-pr :
2222    needs : docs-build-pr 
23-     uses : neo4j/docs-tools/.github/workflows/reusable-docs-verify.yml@main  
23+     uses : neo4j/docs-tools/.github/workflows/reusable-docs-verify.yml@v1.0.3  
2424    with :
2525      failOnWarnings : true 
2626
3737    steps :
3838      - name : Get file changes 
3939        id : get-file-changes 
40-         uses : tj-actions/changed-files@v41 
40+         uses : tj-actions/changed-files@cbda684547adc8c052d50711417fa61b428a9f88   #   v41.1.2 
4141        with :
4242          separator : ' ,' 
4343          files_yaml : | 
5252  docs-updates-comment-pr :
5353    if : needs.docs-build-pr.outputs.pages-listed == 'success' 
5454    needs : [docs-build-pr, docs-changes-pr] 
55-     uses : neo4j/docs-tools/.github/workflows/reusable-docs-pr-changes.yml@main  
55+     uses : neo4j/docs-tools/.github/workflows/reusable-docs-pr-changes.yml@v1.0.3  
5656    with :
5757      pages-modified : ${{ needs.docs-changes-pr.outputs.pages-modified }} 
5858      pages-added : ${{ needs.docs-changes-pr.outputs.pages-added }} 
Original file line number Diff line number Diff line change @@ -3,6 +3,11 @@ name: "Documentation Teardown"
33
44on :
55  pull_request_target :
6+     branches :
7+       - " dev" 
8+       - " 5.x" 
9+       - " 4.[0-9]" 
10+       - " 3.5" 
611    types :
712      - closed 
813
3439          surge teardown $DEPLOY_URL --token "$SURGE_TOKEN" 
3540
3641       - name : Comment on PR 
37-         uses : marocchino/sticky-pull-request-comment@v2  
42+         uses : marocchino/sticky-pull-request-comment@efaaab3fd41a9c3de579aba759d2552635e590fd   #  v2.8.0 
3843        with :
3944          number : ${{ github.event.pull_request.number }} 
4045          header : docs-pr-changes 
4348
4449            The preview documentation has now been torn down - reopening this PR will republish it. 
4550           GITHUB_TOKEN : ${{ secrets.DOCS_PR_COMMENT_TOKEN }} 
46-       
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments