Compare commits

...

2 Commits

Author SHA1 Message Date
peptiderepo
4f80a7499b ci: add permissions: write + secrets:inherit to deploy.yml
The deploy.yml was missing a permissions: block, which means GitHub defaults
to read-only access for public repos. This prevents the nested reusable ci.yml
(permissions: contents: write) from starting, causing startup_failure.

Also adds secrets: inherit to the ci: job so secrets flow through the
reusable workflow chain.

Agent-Session: fix-e2e-ref-20260617
2026-06-17 11:40:13 +07:00
peptiderepo
d1c36f6fbd ci: fix peptide-e2e org ref + deploy.yml permissions (#62)
Fix stale peptiderepo/peptide-e2e refs.

Agent-Session: fix-e2e-ref-20260617
2026-06-17 11:37:55 +07:00
2 changed files with 6 additions and 2 deletions

View File

@@ -16,7 +16,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: wp-framework
has_js: true

View File

@@ -4,6 +4,9 @@ on:
push:
branches: [main]
permissions:
contents: write
concurrency:
group: deploy-peptide-starter-theme
cancel-in-progress: true
@@ -15,11 +18,12 @@ jobs:
# "ci / ci (lint-php (8.1))" etc.
ci:
uses: ./.github/workflows/ci.yml
secrets: inherit
deploy:
name: Deploy (shared pipeline)
needs: ci
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/themes/peptide-starter
secrets: inherit