add back permissions to pr-deploy.yaml
This commit is contained in:
4
.github/workflows/pr-deploy.yaml
vendored
4
.github/workflows/pr-deploy.yaml
vendored
@@ -22,6 +22,8 @@ jobs:
|
|||||||
|
|
||||||
netlify-full:
|
netlify-full:
|
||||||
needs: prdetails
|
needs: prdetails
|
||||||
|
permissions:
|
||||||
|
deployments: write
|
||||||
uses: ./.github/workflows/deploy-to-netlify.yaml
|
uses: ./.github/workflows/deploy-to-netlify.yaml
|
||||||
with:
|
with:
|
||||||
artifact_run_id: ${{ github.event.workflow_run.id || github.run_id }}
|
artifact_run_id: ${{ github.event.workflow_run.id || github.run_id }}
|
||||||
@@ -37,6 +39,8 @@ jobs:
|
|||||||
|
|
||||||
netlify-sdk:
|
netlify-sdk:
|
||||||
needs: prdetails
|
needs: prdetails
|
||||||
|
permissions:
|
||||||
|
deployments: write
|
||||||
uses: ./.github/workflows/deploy-to-netlify.yaml
|
uses: ./.github/workflows/deploy-to-netlify.yaml
|
||||||
with:
|
with:
|
||||||
artifact_run_id: ${{ github.event.workflow_run.id || github.run_id }}
|
artifact_run_id: ${{ github.event.workflow_run.id || github.run_id }}
|
||||||
|
|||||||
Reference in New Issue
Block a user