From 5d9c7dd3bbe053693404af45c9d1397fa3fbb8f8 Mon Sep 17 00:00:00 2001 From: Yann David Date: Thu, 28 Mar 2024 18:55:57 -0400 Subject: [PATCH] Using PAT with limited scope (#119) * Using PAT with limited scope * Missing repo name --- .github/workflows/pr.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 24b31d0..df07193 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -78,6 +78,8 @@ jobs: - name: Dispatch information to repository 🗣️ uses: peter-evans/repository-dispatch@v2 with: + token: ${{ secrets.TOKENFORCOMMENT }} + repository: typositoire/concourse-helm3-resource event-type: pr-comment client-payload: '{"pr_number": "${{ github.event.number }}", "artifact_url": "${{ steps.artifact-upload.outputs.artifact-url }}", "run_id": "${{ github.run_id }}"}' \ No newline at end of file