From 17fdcf53a1a54bd5f899a74ee97c0830c18dadbd Mon Sep 17 00:00:00 2001 From: Marius Ghita Date: Tue, 21 Jan 2025 03:56:47 +0200 Subject: [PATCH] chore: remove composer-unused pre-push hook #9358 --- tasks/migrations/migration-v0.10.2.yaml | 1 + templates/.devcontainer/git/hooks/pre-push | 10 ---------- 2 files changed, 1 insertion(+), 10 deletions(-) delete mode 100755 templates/.devcontainer/git/hooks/pre-push diff --git a/tasks/migrations/migration-v0.10.2.yaml b/tasks/migrations/migration-v0.10.2.yaml index be97ff2..9007a6d 100644 --- a/tasks/migrations/migration-v0.10.2.yaml +++ b/tasks/migrations/migration-v0.10.2.yaml @@ -3,6 +3,7 @@ path: "{{ repo_path }}/{{ item }}" state: absent loop: + - .devcontainer/git/hooks/pre-push - .github/workflows/00-start.yaml - .github/workflows/dependabot-auto-merge.yaml - .github/workflows/repo-ansible.yaml diff --git a/templates/.devcontainer/git/hooks/pre-push b/templates/.devcontainer/git/hooks/pre-push deleted file mode 100755 index 2e973ee..0000000 --- a/templates/.devcontainer/git/hooks/pre-push +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash - -temporary_file=$(mktemp) -# Temporary workaround on issue reported in #8432 -# shellcheck disable=2024 -sudo composer-unused --no-progress --output-format=github > "$temporary_file" -exit_code=$? - -grep -v 'ignored' "$temporary_file" -exit $exit_code