generated from actions/container-toolkit-action
-
Notifications
You must be signed in to change notification settings - Fork 341
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use first-interaction in the repository
- Loading branch information
Cory Miller
committed
Oct 6, 2022
1 parent
1d8459c
commit ba7d609
Showing
1 changed file
with
27 additions
and
0 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,27 @@ | ||
name: first-interaction | ||
This comment has been minimized.
Sorry, something went wrong. |
||
|
||
on: | ||
issues: | ||
types: [opened] | ||
pull_request: | ||
branches: [main] | ||
types: [opened] | ||
|
||
jobs: | ||
check_for_first_interaction: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/first-interaction@main | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-message: | | ||
Hello! Thank you for filing an issue. | ||
If this is a bug report, please include relevant logs to help us debug the problem. | ||
pr-message: | | ||
Hello! Thank you for your contribution. | ||
If you are fixing a bug, please reference the issue number in the description. | ||
If you are implementing a feature request, please check with the maintainers that the feature will be accepted first. |
steps:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: '# Message with markdown.\nThis is the message that will be displayed on users' first issue.'
pr-message: 'Message that will be displayed on users' first pr. Look, a
code block
for markdown.'