2 Commits

Author SHA1 Message Date
peptiderepo
b3bf6451a8 ci: fix peptide-e2e org ref + deploy.yml permissions for reusable workflow
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
2026-06-17 11:34:08 +07:00
peptiderepo
9bb74cf0d3 ci: update peptide-e2e reusable-workflow ref to peptide-repo org
Reusable workflow `uses:` refs do not follow GitHub transfer redirects.
Update owner string from peptiderepo to peptide-repo post org-migration.

Agent-Session: fix-e2e-ref-20260617
2026-06-17 11:34:06 +07:00
2 changed files with 4 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ permissions:
jobs:
ci:
uses: peptiderepo/peptide-e2e/.github/workflows/ci.yml@main
uses: peptide-repo/peptide-e2e/.github/workflows/ci.yml@main
with:
tests: stubs
has_js: true

View File

@@ -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