Skip to content

Commit

Permalink
Update pager-duty-issue-escalate.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jatin-jangir-0220 authored May 6, 2024
1 parent 813fb70 commit 0fd93c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pager-duty-issue-escalate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- name: List issues with 'pager-duty' label
env:
GITHUB_TOKEN: ${{ secrets.GIT_TARGET_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_SYSTEMSDT_TOKEN }}
run: |
issues=$(curl -s -H "Authorization: Bearer $GITHUB_TOKEN" \
-H "Accept: application/vnd.github.v3+json" \
Expand All @@ -39,7 +39,7 @@ jobs:
assignee3="vivek-devtron"
curl -X POST \
-H "Authorization: token ${{ secrets.GIT_TARGET_TOKEN }}" \
-H "Authorization: token ${{ secrets.GH_SYSTEMSDT_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
-d "{\"assignees\": [\"$assignee1\", \"$assignee2\", \"$assignee3\"]}" \
"https://api.github.com/repos/${{ github.repository }}/issues/$issue_number/assignees"
Expand Down

0 comments on commit 0fd93c4

Please sign in to comment.