This commit is contained in:
Laurent Destailleur (aka Eldy) 2024-12-09 08:36:07 +01:00
parent 28213b3129
commit 30893bf676
2 changed files with 6 additions and 1 deletions

View File

@ -39,6 +39,7 @@ jobs:
echo "pr_number=$pr_number"
echo Authenticate login gh
gh auth login --with-token <<< "${{ secrets.GITHUB_TOKEN }}"
echo Set the reviewere
gh auth setup-git
echo Set the reviewer
gh pr edit $pr_number --add-reviewer "$REVIEWER"
continue-on-error: true

View File

@ -20,6 +20,10 @@ jobs:
steps:
- name: Log
run: |
echo "Run action by ${{ github.actor }}"
echo "github.token=${{ github.token }}"
echo "secrets.GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}"
echo "GITHUB_EVENT_PATH=$GITHUB_EVENT_PATH"
echo "repo-token: ${{secrets.GITHUB_TOKEN}}"
echo "variable org: ${{vars.AAA}}"
echo "env prg: ${{env.AAA}}"