File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,39 +3,27 @@ name: Update Parity Docs
33on :
44 schedule :
55 - cron : 0 5 * * MON
6- workflow_dispatch :
7- inputs :
8- targetBranch :
9- required : false
10- type : string
11- default : ' main'
126
137jobs :
148 update-parity-coverage-docs :
159 name : Update Parity Docs
1610 runs-on : ubuntu-latest
1711 steps :
1812 - name : Checkout docs
19- uses : actions/checkout@v4
13+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2014 with :
2115 fetch-depth : 0
2216 path : docs
23- ref : ${{ github.event.inputs.targetBranch || 'main' }}
2417
2518 - name : Set up system wide dependencies
2619 run : |
2720 sudo apt-get install jq wget
2821
29- - name : Set up Python 3.11
22+ - name : Set up Python 3.13
3023 id : setup-python
31- uses : actions/setup-python@v5
24+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3225 with :
33- python-version : " 3.11"
34-
35- - name : Setup Node
36- uses : actions/setup-node@v4
37- with :
38- node-version : ' 20'
26+ python-version : " 3.13"
3927
4028 - name : Download scripts from meta repository
4129 run : |
@@ -154,12 +142,12 @@ jobs:
154142 - name : Read PR markdown template
155143 if : ${{ success() && steps.check-for-changes.outputs.diff-count != '0' && steps.check-for-changes.outputs.diff-count != '' }}
156144 id : template
157- uses : juliangruber/read-file-action@v1
145+ uses : juliangruber/read-file-action@271ff311a4947af354c6abcd696a306553b9ec18 # v1.1.8
158146 with :
159147 path : docs/.github/bot_templates/PARITY_COVERAGE_DOCS_PR.md
160148
161149 - name : Create PR
162- uses : peter-evans/create-pull-request@v7
150+ uses : peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
163151 if : ${{ success() && steps.check-for-changes.outputs.diff-count != '0' && steps.check-for-changes.outputs.diff-count != '' }}
164152 with :
165153 path : docs
You can’t perform that action at this time.
0 commit comments