From eb0f127690371d8e4437d2a49c7b781bcaaa468f Mon Sep 17 00:00:00 2001 From: RDaxini Date: Mon, 15 Dec 2025 21:35:58 -0700 Subject: [PATCH 1/6] Update PULL_REQUEST_TEMPLATE.md --- .github/PULL_REQUEST_TEMPLATE.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 6f7ea3c867..cec9d8759b 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -2,6 +2,7 @@ - [ ] Closes #xxxx - [ ] I am familiar with the [contributing guidelines](https://pvlib-python.readthedocs.io/en/latest/contributing/index.html) + - [ ] I acknowledge that I am responsible for the content of my contribution and any AI-generated material has been vetted for accuracy and compatability with the pvlib contributing guidelines - [ ] Tests added - [ ] Updates entries in [`docs/sphinx/source/reference`](https://github.com/pvlib/pvlib-python/blob/main/docs/sphinx/source/reference) for API changes. - [ ] Adds description and name entries in the appropriate "what's new" file in [`docs/sphinx/source/whatsnew`](https://github.com/pvlib/pvlib-python/tree/main/docs/sphinx/source/whatsnew) for all changes. Includes link to the GitHub Issue with `` :issue:`num` `` or this Pull Request with `` :pull:`num` ``. Includes contributor name and/or GitHub username (link with `` :ghuser:`user` ``). From 6554dfb5782879f4b857a9fdcb0723701d7b150c Mon Sep 17 00:00:00 2001 From: Daxini Date: Tue, 16 Dec 2025 10:44:05 -0700 Subject: [PATCH 2/6] shorten pr checkbox --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index cec9d8759b..7cf778ad2f 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -2,7 +2,7 @@ - [ ] Closes #xxxx - [ ] I am familiar with the [contributing guidelines](https://pvlib-python.readthedocs.io/en/latest/contributing/index.html) - - [ ] I acknowledge that I am responsible for the content of my contribution and any AI-generated material has been vetted for accuracy and compatability with the pvlib contributing guidelines + - [ ] Any AI-generated material has been vetted for accuracy and compatability with the pvlib contributing guidelines - [ ] Tests added - [ ] Updates entries in [`docs/sphinx/source/reference`](https://github.com/pvlib/pvlib-python/blob/main/docs/sphinx/source/reference) for API changes. - [ ] Adds description and name entries in the appropriate "what's new" file in [`docs/sphinx/source/whatsnew`](https://github.com/pvlib/pvlib-python/tree/main/docs/sphinx/source/whatsnew) for all changes. Includes link to the GitHub Issue with `` :issue:`num` `` or this Pull Request with `` :pull:`num` ``. Includes contributor name and/or GitHub username (link with `` :ghuser:`user` ``). From 490942ca59fb73ffdc2c916f3b79659364d03fbe Mon Sep 17 00:00:00 2001 From: Daxini Date: Tue, 16 Dec 2025 10:47:07 -0700 Subject: [PATCH 3/6] add welcome for pr and issue --- .github/workflows/welcome.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/welcome.yml diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml new file mode 100644 index 0000000000..54dea679a8 --- /dev/null +++ b/.github/workflows/welcome.yml @@ -0,0 +1,33 @@ +name: Welcome First-Time Contributor + +on: + issues: + types: opened + pull_request_target: + types: opened + +permissions: {} + +jobs: + welcome: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: plbstl/first-contribution@v4 + with: + issue-opened-msg: | + ### Hey @{fc-author}! :wave: + + Thanks for opening your first issue. Welcome to the community! + pr-opened-msg: | + ### Hey @{fc-author}! :tada: + + Thanks for opening your first pull request! We appreciate your + contribution. Please ensure you have reviewed and understood the + [contributing guidelines](https://pvlib-python.readthedocs.io/en/latest/contributing/index.html). + + If AI is used for any portion of this PR, you must vet the content + for technical accuracy and compatibility with the contributing + guidelines. \ No newline at end of file From f3b1c03e0e6f8d2e530762b54ca8ac9c2c6f7550 Mon Sep 17 00:00:00 2001 From: RDaxini Date: Mon, 12 Jan 2026 09:21:13 -0700 Subject: [PATCH 4/6] misc --- .github/workflows/welcome.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml index 54dea679a8..75c137cce4 100644 --- a/.github/workflows/welcome.yml +++ b/.github/workflows/welcome.yml @@ -6,8 +6,6 @@ on: pull_request_target: types: opened -permissions: {} - jobs: welcome: runs-on: ubuntu-latest @@ -17,10 +15,6 @@ jobs: steps: - uses: plbstl/first-contribution@v4 with: - issue-opened-msg: | - ### Hey @{fc-author}! :wave: - - Thanks for opening your first issue. Welcome to the community! pr-opened-msg: | ### Hey @{fc-author}! :tada: @@ -30,4 +24,4 @@ jobs: If AI is used for any portion of this PR, you must vet the content for technical accuracy and compatibility with the contributing - guidelines. \ No newline at end of file + guidelines. From 360b6e53aa9899ec389dd1c0445481f35343b8f2 Mon Sep 17 00:00:00 2001 From: RDaxini Date: Tue, 13 Jan 2026 09:33:54 -0700 Subject: [PATCH 5/6] Update v0.13.2.rst --- docs/sphinx/source/whatsnew/v0.13.2.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/sphinx/source/whatsnew/v0.13.2.rst b/docs/sphinx/source/whatsnew/v0.13.2.rst index b6170a6053..594e720c5b 100644 --- a/docs/sphinx/source/whatsnew/v0.13.2.rst +++ b/docs/sphinx/source/whatsnew/v0.13.2.rst @@ -53,6 +53,9 @@ Documentation * Provide an overview of temperature modeling functionality in :ref:`temperature`. (:pull:`2591`) * Fix typo in parameter name ``atmos_refract`` in :py:func:`pvlib.solarposition.spa_python` and :py:func:`pvlib.spa.solar_position`. (:issue:`2532`, :pull:`2592`) +* Add AI checkbox to PR template, and auto-generate a comment on issues and PRs from + first-time contributors regarding AI and contributing guidelines. + (:issue:`2617`, :pull:`2624`) Testing From 52e6260f019bb1c0ba92dafaad195b94c756e00c Mon Sep 17 00:00:00 2001 From: RDaxini Date: Wed, 14 Jan 2026 13:17:46 -0700 Subject: [PATCH 6/6] remove issue +tag co-authors Co-Authored-By: Echedey Luis <80125792+echedey-ls@users.noreply.github.com> Co-Authored-By: Kevin Anderson <57452607+kandersolar@users.noreply.github.com> --- .github/workflows/welcome.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml index 75c137cce4..d503bb62ad 100644 --- a/.github/workflows/welcome.yml +++ b/.github/workflows/welcome.yml @@ -1,8 +1,6 @@ name: Welcome First-Time Contributor on: - issues: - types: opened pull_request_target: types: opened @@ -10,7 +8,6 @@ jobs: welcome: runs-on: ubuntu-latest permissions: - issues: write pull-requests: write steps: - uses: plbstl/first-contribution@v4