From 49bc20ae763c4aad369dfdb671e02a87a18b9301 Mon Sep 17 00:00:00 2001 From: devthejo Date: Wed, 8 Jan 2025 10:54:20 +0100 Subject: [PATCH] fix: perms --- actions/deployment-ending/action.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/actions/deployment-ending/action.yaml b/actions/deployment-ending/action.yaml index 13d5933..5cbb9f3 100644 --- a/actions/deployment-ending/action.yaml +++ b/actions/deployment-ending/action.yaml @@ -38,9 +38,6 @@ outputs: description: "docker images manifests from manifests as json format" value: ${{ steps.debug-manifests.outputs.manifests-images }} -permissions: - pull-requests: write - runs: using: "composite" steps: @@ -64,7 +61,7 @@ runs: message: | 🎉 Deployment for commit ${{ github.sha }} : ${{ fromJSON(steps.debug-manifests.outputs.markdown-json).result }} - GITHUB_TOKEN: ${{ inputs.token }} + GITHUB_TOKEN: ${{ inputs.pat || inputs.token }} - name: Define environment URL id: environment-url