|
| 1 | +name: "Welcome — insightvm-python" |
| 2 | + |
| 3 | +on: |
| 4 | + issues: |
| 5 | + types: [opened] |
| 6 | + pull_request_target: |
| 7 | + types: [opened, reopened, ready_for_review] |
| 8 | + |
| 9 | +jobs: |
| 10 | + greet: |
| 11 | + name: Greet first-time contributors |
| 12 | + runs-on: ubuntu-latest |
| 13 | + permissions: |
| 14 | + issues: write |
| 15 | + pull-requests: write |
| 16 | + contents: read |
| 17 | + steps: |
| 18 | + - name: Post welcome message for issues & PRs |
| 19 | + uses: actions/first-interaction@v1 |
| 20 | + with: |
| 21 | + repo-token: ${{ secrets.GITHUB_TOKEN }} |
| 22 | + issue-message: | |
| 23 | + Hi @${{ github.actor }} 👋 |
| 24 | +
|
| 25 | + Thanks for opening an issue against the insightvm-python client. |
| 26 | +
|
| 27 | + To help us triage it quickly, please: |
| 28 | + - Use the issue templates when appropriate. |
| 29 | + - Include a short description, steps to reproduce, and the expected vs actual behavior. |
| 30 | + - Provide the Python version and the version of the package you are using. |
| 31 | + - Attach logs or a minimal reproduction when possible. |
| 32 | +
|
| 33 | + For security-sensitive reports, see SECURITY.md. See also CONTRIBUTING.md and README.md. |
| 34 | + pr-message: | |
| 35 | + Hi @${{ github.actor }} 👋 |
| 36 | +
|
| 37 | + Thanks for your first pull request to insightvm-python! We appreciate your contribution. |
| 38 | +
|
| 39 | + A few quick reminders to help speed up review: |
| 40 | + - Follow the contribution guide: CONTRIBUTING.md |
| 41 | + - Add or update tests under the `tests/` directory and run them with `pytest`. |
| 42 | + - Run formatting and linters (pre-commit / black / isort / flake8) locally before pushing. |
| 43 | + - Update `CHANGELOG.md` if the change affects public behaviour or user-facing APIs. |
| 44 | + - Describe the purpose of the change and the steps you followed to verify it. |
| 45 | +
|
| 46 | + A maintainer will review this soon — thank you! |
0 commit comments