feat(deploy): add write-all permissions to deploy workflow
This commit adds write-all permissions to the get-version and deploy jobs in the deploy workflow. This allows the workflow to properly interact with the repository for versioning and deployment tasks.
This commit is contained in:
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@@ -11,6 +11,7 @@ jobs:
|
||||
get-version:
|
||||
name: Determine Next Version
|
||||
runs-on: ubuntu-latest
|
||||
permissions: write-all
|
||||
if: github.event.pull_request.merged == true
|
||||
outputs:
|
||||
version: ${{ steps.version.outputs.next_version }}
|
||||
@@ -26,6 +27,7 @@ jobs:
|
||||
deploy:
|
||||
name: Deploy
|
||||
needs: [get-version]
|
||||
permissions: write-all
|
||||
uses: Aignosi/github_workflow_templates/.github/workflows/reusable-deploy.yml@feature/SIENTIAPDE-1352
|
||||
with:
|
||||
version: ${{ needs.get-version.outputs.version }}
|
||||
|
||||
Reference in New Issue
Block a user