From b1e4c772a48ec047c31525545f9f004bd9930d19 Mon Sep 17 00:00:00 2001 From: Serreau Jovann Date: Tue, 7 Apr 2026 23:41:02 +0200 Subject: [PATCH] fix: suppression workflow Discord + deprecation doctrine controller_resolver - Suppression .gitea/workflows/discord-notify.yml (plus de notification Discord a chaque push) - Suppression controller_resolver.auto_mapping deprecie dans les 2 fichiers doctrine.yaml Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/discord-notify.yml | 64 -------------------------- config/packages/doctrine.yaml | 2 - config/packages/packages/doctrine.yaml | 2 - 3 files changed, 68 deletions(-) delete mode 100644 .gitea/workflows/discord-notify.yml diff --git a/.gitea/workflows/discord-notify.yml b/.gitea/workflows/discord-notify.yml deleted file mode 100644 index 827aeb4..0000000 --- a/.gitea/workflows/discord-notify.yml +++ /dev/null @@ -1,64 +0,0 @@ -name: Discord Notification - -on: - push: - -jobs: - notify: - runs_on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 2 - - - name: Send Discord Embed - run: | - REPO_NAME="${{ gitea.repository }}" - BRANCH="${{ gitea.ref_name }}" - AUTHOR="${{ gitea.actor }}" - COMMIT_SHA="${{ gitea.sha }}" - SHORT_SHA="${COMMIT_SHA:0:7}" - COMMIT_URL="${{ gitea.server_url }}/${REPO_NAME}/commit/${COMMIT_SHA}" - TIMESTAMP=$(date -u +"%Y-%m-%dT%H:%M:%SZ") - - COMMIT_MSG=$(git log -1 --pretty=format:'%s' | head -c 200) - FILES_CHANGED=$(git diff --stat HEAD~1 HEAD 2>/dev/null | tail -1 || echo "premier commit") - FILE_COUNT=$(git diff --name-only HEAD~1 HEAD 2>/dev/null | wc -l || echo "0") - FILES_LIST=$(git diff --name-only HEAD~1 HEAD 2>/dev/null | head -15 | sed 's/^/• /' || echo "• premier commit") - - if [ "$FILE_COUNT" -gt 15 ]; then - REMAINING=$((FILE_COUNT - 15)) - FILES_LIST=$(printf '%s\n... et %s autres fichiers' "$FILES_LIST" "$REMAINING") - fi - - # Escape for JSON - COMMIT_MSG_ESC=$(echo "$COMMIT_MSG" | sed 's/\\/\\\\/g; s/"/\\"/g; s/\t/\\t/g') - FILES_CHANGED_ESC=$(echo "$FILES_CHANGED" | sed 's/\\/\\\\/g; s/"/\\"/g; s/\t/\\t/g') - FILES_LIST_ESC=$(echo "$FILES_LIST" | sed ':a;N;$!ba;s/\n/\\n/g' | sed 's/\\/\\\\/g; s/"/\\"/g' | sed 's/\\\\\\\\/\\\\/g') - - cat > /tmp/discord.json <