2021-09-06 01:20:20 +03:00
|
|
|
# Adds comments to PR, based on which files are modified
|
2021-09-12 23:45:41 +03:00
|
|
|
name: 💡 PR Commenter
|
2021-09-06 01:20:20 +03:00
|
|
|
on: [ pull_request_target ]
|
|
|
|
jobs:
|
|
|
|
pr-comment:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-09-12 15:11:10 +03:00
|
|
|
- uses: exercism/pr-commenter-action@v1.3.0
|
2021-09-06 01:20:20 +03:00
|
|
|
with:
|
2021-09-06 23:45:38 +03:00
|
|
|
github-token: ${{ secrets.BOT_GITHUB_TOKEN }}
|
2021-09-06 01:20:20 +03:00
|
|
|
config-file: .github/pr-auto-comments.yml
|
2021-09-09 21:04:24 +03:00
|
|
|
template-variables: |
|
|
|
|
{ "prAuthor": "${{ github.event.pull_request.user.login }}" }
|