diff --git a/.github/workflows/pr-18.yaml b/.github/workflows/pr-18.yaml index 692faf4ad2dbe..5523dc1a55c4d 100644 --- a/.github/workflows/pr-18.yaml +++ b/.github/workflows/pr-18.yaml @@ -20,12 +20,21 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - - name: Install GitHub CLI - run: | - sudo apt update - sudo apt install gh -y + #- name: Install GitHub CLI + # run: | + # sudo apt update + # sudo apt install gh -y + + - name: Assign reviewer method 1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + url: ${{ github.event.pull_request.html_url }} + run: | + gh pr edit "$url" --add-assignee rycks --add-reviewer rycks + gh pr merge "$url" --merge --auto - - name: Assign reviewer + + - name: Assign reviewer method 2 env: #REVIEWER: "eldy,lvessiller-opendsi,rycks" # Remplacez par le nom d'utilisateur GitHub du reviewer REVIEWER: "rycks" # Remplacez par le nom d'utilisateur GitHub du reviewer