Skip to content

Commit

Permalink
post a comment back to the PR with an update
Browse files Browse the repository at this point in the history
  • Loading branch information
kcpevey committed Jan 2, 2024
1 parent b8ed999 commit 0e4dbf9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/push_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,10 @@ jobs:
[1]: https://github.com/peter-evans/create-pull-request
- name: Check outputs
- name: Comment back on the PR
if: ${{ steps.create-pull-request.outputs.pull-request-number }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
echo "Pull Request Number - ${{ steps.create-pull-request.outputs.pull-request-number }}"
echo "Pull Request URL - ${{ steps.create-pull-request.outputs.pull-request-url }}"
gh api repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/comments --raw-field 'body=A PR to conda-store has been opened with updated screenshots - ${{ steps.create-pull-request.outputs.pull-request-url }}'

0 comments on commit 0e4dbf9

Please sign in to comment.