From f66e25b49c111363e6ab4f26d9fcb77c8f1735a4 Mon Sep 17 00:00:00 2001 From: David Marinho Date: Tue, 8 Oct 2024 12:58:45 +0100 Subject: [PATCH 1/3] upgrade versions workflows and requirements.txt --- .github/workflows/jira.yml | 2 +- .github/workflows/mkdocs.yml | 4 ++-- .github/workflows/scheduled.yml | 4 ++-- .github/workflows/vale.yml | 2 +- requirements.txt | 10 +++++----- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/jira.yml b/.github/workflows/jira.yml index 93017b8620..b9f7dfc9bb 100644 --- a/.github/workflows/jira.yml +++ b/.github/workflows/jira.yml @@ -18,7 +18,7 @@ jobs: - name: Create Jira issue id: create_jira_issue - uses: atlassian/gajira-create@v3.0.1 + uses: atlassian/gajira-create@v3 with: project: DOCS issuetype: Bug diff --git a/.github/workflows/mkdocs.yml b/.github/workflows/mkdocs.yml index b587a0e43b..0ed23bcb0f 100644 --- a/.github/workflows/mkdocs.yml +++ b/.github/workflows/mkdocs.yml @@ -30,7 +30,7 @@ jobs: - name: Obtain pull request number id: pull_request if: github.ref != 'refs/heads/master' && !startsWith(github.ref, 'refs/heads/release/v') - uses: jwalton/gh-find-current-pr@v1 + uses: jwalton/gh-find-current-pr@master - name: Set up environment variables if: github.ref != 'refs/heads/master' && !startsWith(github.ref, 'refs/heads/release/v') @@ -106,7 +106,7 @@ jobs: # Deploy Self-hosted docs on push to release/vM.m branch - name: Set up git author - uses: oleksiyrudenko/gha-git-credentials@v2 + uses: oleksiyrudenko/gha-git-credentials@latest if: startsWith(github.ref, 'refs/heads/release/v') with: name: ${{ github.actor }} diff --git a/.github/workflows/scheduled.yml b/.github/workflows/scheduled.yml index 19551c4363..9450be5824 100644 --- a/.github/workflows/scheduled.yml +++ b/.github/workflows/scheduled.yml @@ -39,7 +39,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.x" + python-version: "3." cache: "pip" - name: Install dependencies @@ -106,7 +106,7 @@ jobs: - name: Create pull request if: steps.calibre.outputs.markdown != '' - uses: peter-evans/create-pull-request@v6 + uses: peter-evans/create-pull-request@v7 with: title: "clean: Compress images" branch-suffix: timestamp diff --git a/.github/workflows/vale.yml b/.github/workflows/vale.yml index b0903a064b..19235cf453 100644 --- a/.github/workflows/vale.yml +++ b/.github/workflows/vale.yml @@ -14,7 +14,7 @@ jobs: submodules: false - name: Vale - uses: errata-ai/vale-action@v2.1.0 + uses: errata-ai/vale-action@reviewdog with: filter_mode: added debug: true diff --git a/requirements.txt b/requirements.txt index b4d8c9741c..815ba188d4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,19 +1,19 @@ mkdocs==1.6.1 mike==2.1.3 markdown==3.7 -mkdocs-material==8.2.3 -Jinja2==3.1.3 +mkdocs-material==9.5.39 +Jinja2==3.1.4 # Markdown extensions Pygments==2.18.0 -pymdown-extensions==10.9 +pymdown-extensions==10.11.2 # MkDocs plugins mkdocs-exclude-search==0.6.6 mkdocs-exclude==1.0.2 -mkdocs-git-revision-date-localized-plugin==1.2.7 +mkdocs-git-revision-date-localized-plugin==1.2.9 mkdocs-include-markdown-plugin==6.2.2 -mkdocs-macros-plugin==1.0.5 +mkdocs-macros-plugin==1.2.0 mkdocs-meta-descriptions-plugin==3.0.0 mkdocs-monorepo-plugin==1.1.0 mkdocs-redirects==1.2.1 From 6a38e603eb6de01deaf3aa5ef5c49b60284e088f Mon Sep 17 00:00:00 2001 From: David Marinho Date: Tue, 8 Oct 2024 13:01:12 +0100 Subject: [PATCH 2/3] fix scheduled workflow --- .github/workflows/scheduled.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scheduled.yml b/.github/workflows/scheduled.yml index 9450be5824..d0234548cb 100644 --- a/.github/workflows/scheduled.yml +++ b/.github/workflows/scheduled.yml @@ -39,7 +39,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3." + python-version: "3.x" cache: "pip" - name: Install dependencies From c587bf200aebfa40b571df40e5d2714ca09fc61e Mon Sep 17 00:00:00 2001 From: David Marinho Date: Tue, 8 Oct 2024 14:24:35 +0100 Subject: [PATCH 3/3] fix codacy issues --- .github/workflows/mkdocs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mkdocs.yml b/.github/workflows/mkdocs.yml index 0ed23bcb0f..b587a0e43b 100644 --- a/.github/workflows/mkdocs.yml +++ b/.github/workflows/mkdocs.yml @@ -30,7 +30,7 @@ jobs: - name: Obtain pull request number id: pull_request if: github.ref != 'refs/heads/master' && !startsWith(github.ref, 'refs/heads/release/v') - uses: jwalton/gh-find-current-pr@master + uses: jwalton/gh-find-current-pr@v1 - name: Set up environment variables if: github.ref != 'refs/heads/master' && !startsWith(github.ref, 'refs/heads/release/v') @@ -106,7 +106,7 @@ jobs: # Deploy Self-hosted docs on push to release/vM.m branch - name: Set up git author - uses: oleksiyrudenko/gha-git-credentials@latest + uses: oleksiyrudenko/gha-git-credentials@v2 if: startsWith(github.ref, 'refs/heads/release/v') with: name: ${{ github.actor }}