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
name: First Interaction Response | |
on: | |
issues: | |
types: [opened] | |
pull_request: | |
types: [opened] | |
pull_request_target: | |
types: [opened] | |
jobs: | |
response: | |
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. | |
Thank you for creating an issue on this repository. The maintainer will triage it and will respond within a few days. | |
pr-message: | | |
Hello! Thank you for your contribution. | |
This repository is in READ ONLY mode. If you're trying to test the workflows, you need to create a fork of this repository to your organisation or personal account before you can run the workflows! | |
If you've spotted a mistake that you'd like to see fixed, please create an issue instead. This PR will be closed shortly. | |
- uses: superbrothers/close-pull-request@v3 | |
if: ${{ github.event_name == 'pull_request_target' }} |