diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index b68e97a..7da818e 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -4,7 +4,6 @@ on: pull_request_target jobs: auto-approve: runs-on: ubuntu-latest - # On ajoute explicitement les permissions ici permissions: pull-requests: write contents: write @@ -12,8 +11,4 @@ jobs: steps: - uses: hmarr/auto-approve-action@v4 with: - github-token: ${{ secrets.GITHUB_TOKEN }} - - # - uses: hmarr/auto-approve-action@v4 - # with: - # github-token: ${{ secrets.MY_TECH_ACCOUNT_PAT }} \ No newline at end of file + github-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 4fbc042..f0f2d52 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -10,7 +10,7 @@ permissions: jobs: APIs-cicd: - uses: mairie360/CICD/.github/workflows/APIs_cicd.yml@mair-56-setup-open-api-gen + uses: mairie360/CICD/.github/workflows/APIs_cicd.yml@v1.2.1 permissions: contents: write packages: write