Skip to content

Commit 33bd1fe

Browse files
committed
chore: loging state ment
1 parent 301d4da commit 33bd1fe

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/pr-validator.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ jobs:
1717
steps:
1818
- name: Checkout repository
1919
uses: actions/checkout@v2
20-
2120

2221
- name: Set up jq (for parsing JSON)
2322
run: sudo apt-get install -y jq
23+
24+
- name: Debug: Print token
25+
run: echo "Token value: ${{ secrets.GH_PR_VALIDATOR_TOKEN }}" #REMOVE AFTER DEBUGGING
2426

2527
- name: PR Validation Script
2628
env:
@@ -34,7 +36,7 @@ jobs:
3436
echo "base or target repo : ${{ github.event.pull_request.base.repo.full_name }}"
3537
echo "head or source repo : ${{ github.event.pull_request.head.repo.full_name }}"
3638
echo "$GH_PR_VALIDATOR_TOKEN" | gh auth login --with-token
37-
39+
3840
if [[ ${{ github.event.pull_request.head.repo.full_name }} == ${{ github.event.pull_request.base.repo.full_name }} ]]; then
3941
export forked=false
4042
else

0 commit comments

Comments
 (0)