ci: fix deploy.yml permissions + secrets for reusable workflow (#10)
Fix permissions: read to write and add secrets: inherit to ci job. Resolves startup_failure caused by permissions mismatch with reusable ci.yml. Agent-Session: fix-e2e-ref-20260617
This commit is contained in:
3
.github/workflows/deploy.yml
vendored
3
.github/workflows/deploy.yml
vendored
@@ -5,7 +5,7 @@ on:
|
|||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: write
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: deploy-peptide-reconstitution-calculator
|
group: deploy-peptide-reconstitution-calculator
|
||||||
@@ -15,6 +15,7 @@ jobs:
|
|||||||
ci:
|
ci:
|
||||||
name: Pre-deploy CI
|
name: Pre-deploy CI
|
||||||
uses: ./.github/workflows/ci.yml
|
uses: ./.github/workflows/ci.yml
|
||||||
|
secrets: inherit
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
name: Deploy (shared pipeline)
|
name: Deploy (shared pipeline)
|
||||||
|
|||||||
Reference in New Issue
Block a user