File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed
Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 88 targetBranch :
99 required : false
1010 type : string
11- default : ' master '
11+ default : ' main '
1212
1313jobs :
1414 update-parity-coverage-docs :
2020 with :
2121 fetch-depth : 0
2222 path : docs
23- ref : ${{ github.event.inputs.targetBranch || 'master ' }}
23+ ref : ${{ github.event.inputs.targetBranch || 'main ' }}
2424
2525 - name : Set up system wide dependencies
2626 run : |
@@ -114,10 +114,10 @@ jobs:
114114 working-directory : docs
115115 run : |
116116 # Check if there are changed files and store the result in resources/diff-check.log
117- # Check against the PR branch if it exists, otherwise against the master
117+ # Check against the PR branch if it exists, otherwise against the main
118118 # Store the result in resources/diff-check.log and store the diff count in the GitHub Action output "diff-count"
119119 mkdir -p resources
120- (git diff --name-only origin/parity-coverage-auto-updates data/coverage/ 2>/dev/null || git diff --name-only origin/${{ github.event.inputs.targetBranch || 'master ' }} src/data/coverage/ 2>/dev/null) | tee -a resources/diff-check.log
120+ (git diff --name-only origin/parity-coverage-auto-updates data/coverage/ 2>/dev/null || git diff --name-only origin/${{ github.event.inputs.targetBranch || 'main ' }} src/data/coverage/ 2>/dev/null) | tee -a resources/diff-check.log
121121 echo "diff-count=$(cat resources/diff-check.log | wc -l)" >> $GITHUB_OUTPUT
122122
123123 - name : Read PR markdown template
Original file line number Diff line number Diff line change 88 targetBranch :
99 required : false
1010 type : string
11- default : ' master '
11+ default : ' main '
1212
1313jobs :
1414 update-replicator-docs :
2020 with :
2121 fetch-depth : 0
2222 path : docs
23- ref : ${{ github.event.inputs.targetBranch || 'master ' }}
23+ ref : ${{ github.event.inputs.targetBranch || 'main ' }}
2424
2525 - name : Set up system wide dependencies
2626 run : |
@@ -45,10 +45,10 @@ jobs:
4545 working-directory : docs
4646 run : |
4747 # Check if there are changed files and store the result in resources/diff-check.log
48- # Check against the PR branch if it exists, otherwise against the master
48+ # Check against the PR branch if it exists, otherwise against the main
4949 # Store the result in resources/diff-check.log and store the diff count in the GitHub Action output "diff-count"
5050 mkdir -p resources
51- (git diff --name-only origin/replicator-coverage-updates src/data/replicator/coverage.json 2>/dev/null || git diff --name-only origin/${{ github.event.inputs.targetBranch || 'master ' }} src/data/replicator/coverage.json 2>/dev/null) | tee resources/diff-check.log
51+ (git diff --name-only origin/replicator-coverage-updates src/data/replicator/coverage.json 2>/dev/null || git diff --name-only origin/${{ github.event.inputs.targetBranch || 'main ' }} src/data/replicator/coverage.json 2>/dev/null) | tee resources/diff-check.log
5252 echo "diff-count=$(cat resources/diff-check.log | wc -l)" >> $GITHUB_OUTPUT
5353 cat resources/diff-check.log
5454
Original file line number Diff line number Diff line change 77 targetBranch :
88 required : false
99 type : string
10- default : ' master '
10+ default : ' main '
1111
1212jobs :
1313 update-persistence-docs :
1919 with :
2020 fetch-depth : 0
2121 path : docs
22- ref : ${{ github.event.inputs.targetBranch || 'master ' }}
22+ ref : ${{ github.event.inputs.targetBranch || 'main ' }}
2323
2424 - name : Set up Python 3.11
2525 id : setup-python
4646 # Check against the PR branch if it exists, otherwise against the main
4747 # Store the result in resources/diff-check.log and store the diff count in the GitHub Action output "diff-count"
4848 mkdir -p resources
49- (git diff --name-only origin/persistence-auto-updates src/data/persistence/ 2>/dev/null || git diff --name-only origin/${{ github.event.inputs.targetBranch || 'master ' }} src/data/persistence/ 2>/dev/null) | tee -a resources/diff-check.log
49+ (git diff --name-only origin/persistence-auto-updates src/data/persistence/ 2>/dev/null || git diff --name-only origin/${{ github.event.inputs.targetBranch || 'main ' }} src/data/persistence/ 2>/dev/null) | tee -a resources/diff-check.log
5050 echo "diff-count=$(cat resources/diff-check.log | wc -l)" >> $GITHUB_OUTPUT
5151 cat resources/diff-check.log
5252
You can’t perform that action at this time.
0 commit comments