Skip to content

Commit

Permalink
Update pull_request.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Omkar Khatavkar authored Oct 30, 2023
1 parent 6b816cd commit 0cbe3fa
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@ jobs:
matrix:
python-version: ['3.10', '3.11']
steps:
- name: Add Parent PR's PRT comment to Auto_Cherry_Picked PR's
id: add-parent-prt-comment
run: |
ISSUE_NUMBER=${{ github.event.pull_request.number }}
COMMENT_BODY="trigger: test-robottelo"
curl -X POST -H "Authorization: token ${{ secrets.CHERRYPICK_PAT }}" \
-H "Accept: application/vnd.github.v3+json" \
"https://api.github.com/repos/${{ github.repository }}/issues/${ISSUE_NUMBER}/comments" \
-d "{\"body\":\"$COMMENT_BODY\"}"
- name: Checkout Robottelo
uses: actions/checkout@v4

Expand Down

0 comments on commit 0cbe3fa

Please sign in to comment.