Skip to content

Commit

Permalink
[CI] Fix user reference in PR commentary (authelia#1231)
Browse files Browse the repository at this point in the history
Co-authored-by: Clément Michaud <[email protected]>
  • Loading branch information
nightah and clems4ever authored Jul 26, 2020
1 parent 85f199c commit ad6b152
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/probot.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on('pull_request.opened')
context =>
!context.payload.pull_request.head.label.includes(':master')
)
.comment(`Thanks for choosing to contribute @{{ user.login }}. We lint all PR's with golangci-lint, I may add a review to your PR with some suggestions.
.comment(`Thanks for choosing to contribute @{{ pull_request.user.login }}. We lint all PR's with golangci-lint, I may add a review to your PR with some suggestions.
You are free to apply the changes if you're comfortable, alternatively you are welcome to ask a team member for advice.
Expand All @@ -44,7 +44,7 @@ on('pull_request.opened')
context =>
context.payload.pull_request.head.label.includes(':master')
)
.comment(`Thanks for choosing to contribute @{{ user.login }}.
.comment(`Thanks for choosing to contribute @{{ pull_request.user.login }}.
Unfortunately it appears that you're submitting a PR from a forked master branch and this is known to causes issues with codecov. Please re-submit your PR from a branch other than master.`)
.close()

0 comments on commit ad6b152

Please sign in to comment.