From 8576f8a549e955ccd6fa22fc72828920560fe3f3 Mon Sep 17 00:00:00 2001 From: xxyzz Date: Mon, 11 Dec 2023 16:24:06 +0800 Subject: [PATCH] Ignore patch updates of the "typos" command "typos" doesn't have a stable tag("v1") like other actions and it updates quite frequently. Also update some action dependencies. --- .github/dependabot.yml | 3 +++ .github/workflows/lint.yml | 4 ++-- .github/workflows/test.yml | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 5ace4600..276a3c06 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,3 +4,6 @@ updates: directory: "/" schedule: interval: "weekly" + ignore: + - dependency-name: "typos" # ignore patch updates + update-types: ["version-update:semver-patch"] diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 21d7a6d7..b2e2b8ec 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.12' cache: 'pip' @@ -24,4 +24,4 @@ jobs: # - run: python -m black --check . # - run: python -m mypy -p wikitextprocessor # - run: python -m ruff . - - uses: crate-ci/typos@v1.16.23 + - uses: crate-ci/typos@v1.16.24 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5705d755..625ab95d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@v4 with: submodules: "recursive" - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip'