Skip to content

Instantly share code, notes, and snippets.

@remarkablemark
Created April 27, 2022 00:43
Show Gist options
  • Save remarkablemark/08ccd0a01fa3cbba39194434ba1ec11e to your computer and use it in GitHub Desktop.
Save remarkablemark/08ccd0a01fa3cbba39194434ba1ec11e to your computer and use it in GitHub Desktop.
- name: Add comment to PR
if: github.event.action == 'opened'
run: |
gh pr comment ${{ github.event.number }} --body '[Heroku app](https://dashboard.heroku.com/apps/${{ env.HEROKU_APP_NAME }}): https://${{ env.HEROKU_APP_NAME }}.herokuapp.com'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment