From 7afeac9782cab5bb23428ebe95879c40c6fc3902 Mon Sep 17 00:00:00 2001 From: Massimo Schembri Date: Thu, 4 Jan 2024 10:16:40 +0100 Subject: [PATCH] chore(pre-commit,doc): upgrade pre-commit hooks Fix README.md --- .pre-commit-config.yaml | 4 ++-- README.md | 28 +++------------------------- 2 files changed, 5 insertions(+), 27 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6ed1357..7313b28 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: "v4.4.0" + rev: "v4.5.0" hooks: - id: check-added-large-files - id: check-case-conflict @@ -11,7 +11,7 @@ repos: - id: trailing-whitespace args: ['--markdown-linebreak-ext=md,txt,gotmpl'] - repo: https://github.com/python-jsonschema/check-jsonschema - rev: "0.22.0" + rev: "0.27.3" hooks: - id: check-dependabot - id: check-github-actions diff --git a/README.md b/README.md index d813ec3..4fe1788 100644 --- a/README.md +++ b/README.md @@ -31,18 +31,10 @@ Checkout the ref (or latest) upstream version and apply one or more patch files Perform all checks on pull requests ```yaml -name: Checkout and Patch - -on: - pull_request: - types: [opened, edited, synchronize, reopened] - paths: - - 'containers/**' jobs: build: - runs-on: self-hosted steps: - - uses: draios/infra-action-patch-upstream@v1 + - uses: draios/infra-action-patch-upstream@v0.0.6 with: upstream_repo: sysdiglabs/charts local_patch_dir: tests/sysdiglabs/charts @@ -52,18 +44,11 @@ jobs: Perform all checks on pull requests and remove files from the upstream repository ```yaml -name: Checkout and Patch - -on: - pull_request: - types: [opened, edited, synchronize, reopened] - paths: - - 'containers/**' jobs: build: runs-on: self-hosted steps: - - uses: draios/infra-action-patch-upstream@v1 + - uses: draios/infra-action-patch-upstream@v0.0.6 with: upstream_repo: sysdiglabs/charts local_patch_dir: tests/sysdiglabs/charts @@ -76,18 +61,11 @@ jobs: Perform all checks on pull requests and copy some files from the upstream repository to a custom location ```yaml -name: Checkout and Patch - -on: - pull_request: - types: [opened, edited, synchronize, reopened] - paths: - - 'containers/**' jobs: build: runs-on: self-hosted steps: - - uses: draios/infra-action-patch-upstream@v1 + - uses: draios/infra-action-patch-upstream@v0.0.6 with: upstream_repo: sysdiglabs/charts local_patch_dir: tests/sysdiglabs/charts