From 0062b753a5eea20553c6e91bbc3975d7639bee6b Mon Sep 17 00:00:00 2001 From: Alexander Rashed Date: Fri, 8 May 2026 13:56:19 +0200 Subject: [PATCH] update parity docs workflow --- .github/workflows/docs-parity-updates.yml | 24 ++++++----------------- 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/.github/workflows/docs-parity-updates.yml b/.github/workflows/docs-parity-updates.yml index 13ba8ec3..e463d301 100644 --- a/.github/workflows/docs-parity-updates.yml +++ b/.github/workflows/docs-parity-updates.yml @@ -3,12 +3,6 @@ name: Update Parity Docs on: schedule: - cron: 0 5 * * MON - workflow_dispatch: - inputs: - targetBranch: - required: false - type: string - default: 'main' jobs: update-parity-coverage-docs: @@ -16,26 +10,20 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout docs - uses: actions/checkout@v4 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 path: docs - ref: ${{ github.event.inputs.targetBranch || 'main' }} - name: Set up system wide dependencies run: | sudo apt-get install jq wget - - name: Set up Python 3.11 + - name: Set up Python 3.13 id: setup-python - uses: actions/setup-python@v5 + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: - python-version: "3.11" - - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: '20' + python-version: "3.13" - name: Download scripts from meta repository run: | @@ -154,12 +142,12 @@ jobs: - name: Read PR markdown template if: ${{ success() && steps.check-for-changes.outputs.diff-count != '0' && steps.check-for-changes.outputs.diff-count != '' }} id: template - uses: juliangruber/read-file-action@v1 + uses: juliangruber/read-file-action@271ff311a4947af354c6abcd696a306553b9ec18 # v1.1.8 with: path: docs/.github/bot_templates/PARITY_COVERAGE_DOCS_PR.md - name: Create PR - uses: peter-evans/create-pull-request@v7 + uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 if: ${{ success() && steps.check-for-changes.outputs.diff-count != '0' && steps.check-for-changes.outputs.diff-count != '' }} with: path: docs