diff --git a/.github/workflows/on-pr-opened.yml b/.github/workflows/on-pr-opened.yml new file mode 100644 index 00000000000..ef817ef5722 --- /dev/null +++ b/.github/workflows/on-pr-opened.yml @@ -0,0 +1,27 @@ +name: Welcome a first-time contributor + +on: + pull_request_target: + types: opened + +jobs: + welcome-first-time-contributor: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: plbstl/first-contribution@v3 + with: + labels: first contrib + pr-opened-msg: | + ### Hey @{fc-author}! + + Thank you for contributing to JabRef! Your help is truly appreciated :heart:. + + We have automatic checks in place, based on which you will soon get automated feedback if any of them are failing. + We also use [TragBot](https://usetrag.com/) with custom rules that scans your changes and provides some preliminary comments, before a maintainer takes a look. + TragBot is still learning, and may not always be accurate. + In the "Files changed" tab, you can go through its comments and just click on "Resolve conversation" if you are sure that it is incorrect, or comment on the conversation if you are doubtful. + + Please re-check our [contribution guide](https://github.com/JabRef/jabref/blob/main/CONTRIBUTING.md) in case of any other doubts related to our contribution workflow.