Skip to content

Commit

Permalink
Update pr-issue-validator.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
badal773 authored Sep 24, 2024
1 parent 268fd46 commit 2afe6f1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pr-issue-validator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@ jobs:

- name: Validate Issue Reference
env:
GH_TOKEN: ${{ github.token }}
GH_ADMIN_TOKEN: ${{ secrets.GH_SYSTEMSDT_TOKEN_ITEM_ISSUE_RW }}
PR_BODY: ${{ github.event.pull_request.body }}
PRNUM: ${{ github.event.pull_request.number }}
TITLE: ${{ github.event.pull_request.title }}
run: |
set -x
echo "======================Start================================"
# gh api \
# -H "Accept: application/vnd.github+json" \
# --header "Authorization: Bearer $GH_ADMIN_TOKEN" \
# /repos/devtron-labs/devops-sprint/issues
echo ${{ secrets.GH_SYSTEMSDT_TOKEN_ITEM_ISSUE_RW }} | gh auth login --with-token
gh api -X GET /repos/devops-sprint/topics --jq='.names'
gh api \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
--header "Authorization: Bearer $GH_ADMIN_TOKEN" \
/repos/devtron-labs/devops-sprint/issues
echo "========================================================================"
Expand Down

0 comments on commit 2afe6f1

Please sign in to comment.