From 6f460745646de26f53683421dc2401340a138651 Mon Sep 17 00:00:00 2001 From: Matt Wyen Date: Mon, 13 Oct 2025 16:48:01 -0400 Subject: [PATCH 1/3] Add GitHub Actions workflow to welcome first-time contributors on issues and PRs --- .github/workflows/greetings.yml | 46 +++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/greetings.yml diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 0000000..ae5ea5f --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,46 @@ +name: "Welcome — insightvm-python" + +on: + issues: + types: [opened] + pull_request_target: + types: [opened, reopened, ready_for_review] + +jobs: + greet: + name: Greet first-time contributors + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + contents: read + steps: + - name: Post welcome message for issues & PRs + uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: | + Hi @${{ github.actor }} 👋 + + Thanks for opening an issue against the insightvm-python client. + + To help us triage it quickly, please: + - Use the issue templates when appropriate. + - Include a short description, steps to reproduce, and the expected vs actual behavior. + - Provide the Python version and the version of the package you are using. + - Attach logs or a minimal reproduction when possible. + + For security-sensitive reports, see /SECURITY.md. See also /CONTRIBUTING.md and /README.md. + pr-message: | + Hi @${{ github.actor }} 👋 + + Thanks for your first pull request to insightvm-python! We appreciate your contribution. + + A few quick reminders to help speed up review: + - Follow the contribution guide: ./CONTRIBUTING.md + - Add or update tests under the `tests/` directory and run them with `pytest`. + - Run formatting and linters (pre-commit / black / isort / flake8) locally before pushing. + - Update `CHANGELOG.md` if the change affects public behaviour or user-facing APIs. + - Describe the purpose of the change and the steps you followed to verify it. + + A maintainer will review this soon — thank you! From 05066b4c677d92062ca78288c5efda80a7218741 Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 13 Oct 2025 16:49:54 -0400 Subject: [PATCH 2/3] Update .github/workflows/greetings.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Matt --- .github/workflows/greetings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index ae5ea5f..078cd17 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -30,7 +30,7 @@ jobs: - Provide the Python version and the version of the package you are using. - Attach logs or a minimal reproduction when possible. - For security-sensitive reports, see /SECURITY.md. See also /CONTRIBUTING.md and /README.md. + For security-sensitive reports, see SECURITY.md. See also CONTRIBUTING.md and README.md. pr-message: | Hi @${{ github.actor }} 👋 From 04834680cd8143f46bf2915b54d74f80cd96de90 Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 13 Oct 2025 16:50:06 -0400 Subject: [PATCH 3/3] Update .github/workflows/greetings.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Matt --- .github/workflows/greetings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index 078cd17..0dcff13 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -37,7 +37,7 @@ jobs: Thanks for your first pull request to insightvm-python! We appreciate your contribution. A few quick reminders to help speed up review: - - Follow the contribution guide: ./CONTRIBUTING.md + - Follow the contribution guide: CONTRIBUTING.md - Add or update tests under the `tests/` directory and run them with `pytest`. - Run formatting and linters (pre-commit / black / isort / flake8) locally before pushing. - Update `CHANGELOG.md` if the change affects public behaviour or user-facing APIs.