2019-08-07 10:27:30 -04:00
|
|
|
# First Interaction
|
2019-08-02 17:15:36 +00:00
|
|
|
|
2019-08-07 10:27:30 -04:00
|
|
|
An action for filtering pull requests and issues from first-time contributors.
|
|
|
|
|
|
2025-02-19 12:13:48 -05:00
|
|
|
## Usage
|
2019-08-07 10:27:30 -04:00
|
|
|
|
|
|
|
|
See [action.yml](action.yml)
|
|
|
|
|
|
|
|
|
|
```yaml
|
2020-12-22 17:20:57 -05:00
|
|
|
name: Greetings
|
|
|
|
|
|
|
|
|
|
on: [pull_request, issues]
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
greeting:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/first-interaction@v1
|
|
|
|
|
with:
|
|
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
2025-02-19 12:13:48 -05:00
|
|
|
issue-message: |
|
|
|
|
|
# Message with markdown.
|
|
|
|
|
This 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.
|
2019-08-07 10:27:30 -04:00
|
|
|
```
|
|
|
|
|
|
2025-02-19 12:13:48 -05:00
|
|
|
## License
|
2019-08-07 10:27:30 -04:00
|
|
|
|
|
|
|
|
The scripts and documentation in this project are released under the [MIT License](LICENSE)
|