Skip to content

Commit

Permalink
Use first-interaction in the repository
Browse files Browse the repository at this point in the history
  • Loading branch information
cory-miller committed Oct 6, 2022
1 parent 1d8459c commit ba7d609
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/first-interaction.yml
@@ -0,0 +1,27 @@
name: first-interaction

This comment has been minimized.

Copy link
@AshleyNicole0035

AshleyNicole0035 Dec 8, 2022

steps:

  • uses: actions/first-interaction@v1
    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.'

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.

0 comments on commit ba7d609

Please sign in to comment.