Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added github actions workflow that comments in PR #599

Merged
merged 3 commits into from
Feb 4, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/bot_pr_info_message.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: leapp bot - PR info message
on:
pull_request:


jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: mshick/add-pr-comment@v1
with:
# the message to print
message: "Thank you for contributing to Leapp project!\
examon marked this conversation as resolved.
Show resolved Hide resolved
\n\n
Please note that every PR needs to comply with the [Leapp Guidelines](https://github.com/oamg/leapp-guidelines), pass tests and linter check before it can be merged.\
\n\n
If you want to re-run tests or request review, you can use following commands as a comment:\
\n
- `leapp-ci build` runs unit tests\
\n
- `please review` notifies leapp developers of review request\
\n
- `e2e tests` runs unit tests and end-to-end tests (oamg members only)"
examon marked this conversation as resolved.
Show resolved Hide resolved

# a github token for API access
repo-token: ${{ secrets.GITHUB_TOKEN }}
# allow messages to be repeated
allow-repeats: false