From 56051db5b9307a03e10cc942162b7b29da8746ee Mon Sep 17 00:00:00 2001 From: Mohammed Kaddouri Date: Wed, 5 Jun 2024 11:19:21 +0200 Subject: [PATCH] Download test --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 223d053..36bcb38 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,7 +35,7 @@ jobs: repository: MohammedSentry/hello-world-composite-action ref: main # Spécifiez explicitement la branche, par exemple 'main' ou 'master' path: source-repo - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.PAT_TOKEN }} - name: Copy files to the download directory run: | @@ -55,6 +55,6 @@ jobs: exit 1 fi git commit -m "${{ inputs.message }}" - git push + git push https://x-access-token:${{ secrets.PAT_TOKEN }}@github.com/MohammedSentry/test-workflow.git HEAD:main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}