From ab397d7b6a6d7add2e9764634054128b2417d032 Mon Sep 17 00:00:00 2001 From: Sven Lito Date: Tue, 12 Aug 2025 14:08:43 +0700 Subject: [PATCH] fix: remove fork PR comment step due to permission restrictions Fork PRs cannot write comments due to security restrictions. Job summary provides build status information instead. --- .github/workflows/docker-pr.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/.github/workflows/docker-pr.yml b/.github/workflows/docker-pr.yml index 093e455..c05519e 100644 --- a/.github/workflows/docker-pr.yml +++ b/.github/workflows/docker-pr.yml @@ -106,21 +106,6 @@ jobs: 💡 Add `docker-build` label to manually trigger builds - - name: Add Docker build comment (fork PRs) - if: github.event.pull_request.head.repo.full_name != github.repository - uses: marocchino/sticky-pull-request-comment@d2ad0de260ae8b0235ce059e63f2949ba9e05943 # v2.9.3 - with: - header: docker-build - message: | - ## 🐳 Docker Build Complete (Build Only) - - **PR**: #${{ github.event.number }} | **Commit**: `${{ github.sha }}` - - ✅ **Docker build successful** - Multi-platform image built and tested - - **Note**: Fork PRs only build (no push) for security. Images will be available once PR is merged. - - 💡 Add `docker-build` label to manually trigger builds - name: Update job summary (internal PRs) if: github.event.pull_request.head.repo.full_name == github.repository