-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add auto comment github action (#58)
- Loading branch information
Chris Lemke
authored
Jan 20, 2023
1 parent
3983446
commit bed2782
Showing
5 changed files
with
32 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: AutoComment | ||
on: [issues, pull_request] | ||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: wow-actions/auto-comment@v1 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
issuesOpened: | | ||
👋 @{{ author }} | ||
Thank you for raising an issue. We will will investigate into the matter and get back to you as soon as possible. | ||
Please make sure you have given us as much context as possible. | ||
pullRequestOpened: | | ||
⚠️ ⚠️ ⚠️ | ||
👋 @{{ author }} | ||
Please remember that we use [**fast-forward merge**](https://git-scm.com/docs/git-merge#Documentation/git-merge.txt---ff-only) instead of using the usual *Create a merge commit*, *squash and merge* or *rebase and merge* for merging `develop` into `main` or vice versa. | ||
You can execute it by creating a new comment in this PR with the following content: | ||
``` | ||
fast-forward | ||
``` | ||
***With an additional slash (`/`) before the command.*** | ||
**Please create this comment only after all tests have been completed positively!** | ||
For merging your feature branch to `develop` please use [*squash and merge*](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/about-pull-request-merges#squash-and-merge-your-commits). | ||
Thanks! 🙏 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters