Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Dec 8, 2024
1 parent a0864df commit 4bb2b9f
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/pr-18.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,15 @@ on:
#permissions: write-all

jobs:
run:
pr18:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest

env:
# GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ github.token }}
GH_TOKENS: ${{ secrets.GH_TOKEN }}

steps:
- name: Checkout repository
Expand All @@ -37,6 +40,7 @@ jobs:
REVIEWER: "rycks" # Remplacez par le nom d'utilisateur GitHub du reviewer
run: |
echo "GH_TOKEN=$GH_TOKEN"
echo "GH_TOKENS=$GH_TOKENS"
pr_number=$(jq --raw-output .number < $GITHUB_EVENT_PATH)
gh pr edit $pr_number --add-reviewer "$REVIEWER"
continue-on-error: true
38 changes: 37 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,48 @@ permissions: write-all

jobs:
testjob:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
env:
ENVGHT: ${{ secrets.GH_TOKEN }}
ENVGHU: ${{ github.token }}
VARAAA: ${{ vars.AAA }}
ENVAAA: ${{ env.AAA }}
SECBBB: ${{ secrets.BBB }}
VARREPORGCCC: ${{ vars.CCC }}
steps:
- name: Log
run: |
echo "repo-token: ${{ secrets.GITHUB_TOKEN }}"
echo "repo-token: ${{secrets.GITHUB_TOKEN}}"
echo "variable org: ${{vars.AAA}}"
echo "env prg: ${{env.AAA}}"
echo "secret org: ${{secrets.BBB}}"
echo "variable repository of orga: ${{vars.CCC}}"
echo "ENVGHT: ${{ENVGHT}}"
echo "ENVGHT: $ENVGHT"
echo "ENVGHU: ${{ENVGHU}}"
echo "ENVGHU: $ENVGHU"
echo "VARAAA: ${{VARAAA}}"
echo "VARAAA: $VARAAA"
echo "ENVAAA: ${{VARAAA}}"
echo "ENVAAA: $VARAAA"
echo "VARREPORGCCC: ${{VARREPORGCCC}}"
echo "VARREPORGCCC: $VARREPORGCCC"
echo "ENVGHTWITH: ${{ENVGHTWITH}}"
echo "ENVGHT: $ENVGHTWITH"
echo "ENVGHUWITH: ${{ENVGHUWITH}}"
echo "ENVGHU: $ENVGHUWITH"
echo "VARAAAWITH: ${{VARAAAWITH}}"
echo "VARAAAWITH: $VARAAAWITH"
echo "SECBBBWITH: ${{SECBBBWITH}}"
echo "SECBBBWITH: $SECBBBWITH"
with:
ENVGHW: $GH_TOKEN
ENVGHTWITH: $ENVGHT
ENVGHUWITH: $ENVGHU
VARAAAWITH: $VARAAA
SECBBBWITH: $SECBBB
VARREPORGCCCWITH: $VARREPORGCCC

0 comments on commit 4bb2b9f

Please sign in to comment.