From b3bf6451a800aeb2cb6ced0d8e8518db4c4c5d2b Mon Sep 17 00:00:00 2001 From: peptiderepo <273788462+peptiderepo@users.noreply.github.com> Date: Wed, 17 Jun 2026 11:34:08 +0700 Subject: [PATCH] ci: fix peptide-e2e org ref + deploy.yml permissions for reusable workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. Update stale peptiderepo/peptide-e2e ref to peptide-repo/peptide-e2e. Reusable workflow uses: refs do not follow GitHub transfer redirects. 2. Fix permissions: contents: read → write so nested reusable ci.yml (requires write for phpcbf auto-commit) can run without startup_failure. Agent-Session: fix-e2e-ref-20260617 --- .github/workflows/deploy.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 94b36a7..9f874f8 100755 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,7 +5,7 @@ on: branches: [ main ] permissions: - contents: read + contents: write concurrency: group: deploy-peptide-search-ai @@ -15,6 +15,7 @@ jobs: test: name: Pre-deploy tests uses: ./.github/workflows/ci.yml + secrets: inherit validate: name: Validate deployment @@ -36,7 +37,7 @@ jobs: deploy: name: Deploy (shared pipeline) needs: validate - uses: peptiderepo/peptide-e2e/.github/workflows/deploy-app.yml@main + uses: peptide-repo/peptide-e2e/.github/workflows/deploy-app.yml@main with: target_path: wp-content/plugins/peptide-search-ai secrets: inherit