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:
Bruno Domingues
2025-12-04 12:48:11 -03:00
parent 9871867b76
commit f0aaa6e2c1

View File

@@ -11,6 +11,7 @@ jobs:
get-version: get-version:
name: Determine Next Version name: Determine Next Version
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: write-all
if: github.event.pull_request.merged == true if: github.event.pull_request.merged == true
outputs: outputs:
version: ${{ steps.version.outputs.next_version }} version: ${{ steps.version.outputs.next_version }}
@@ -26,6 +27,7 @@ jobs:
deploy: deploy:
name: Deploy name: Deploy
needs: [get-version] needs: [get-version]
permissions: write-all
uses: Aignosi/github_workflow_templates/.github/workflows/reusable-deploy.yml@feature/SIENTIAPDE-1352 uses: Aignosi/github_workflow_templates/.github/workflows/reusable-deploy.yml@feature/SIENTIAPDE-1352
with: with:
version: ${{ needs.get-version.outputs.version }} version: ${{ needs.get-version.outputs.version }}