diff --git a/.github/workflows/first_time_contributor.yml b/.github/workflows/first_time_contributor.yml new file mode 100644 index 00000000000..4fecb26020a --- /dev/null +++ b/.github/workflows/first_time_contributor.yml @@ -0,0 +1,31 @@ +name: First-time Contributor Welcome + +on: + issues: + types: [opened] + pull_request_target: + types: [opened, closed] + +jobs: + first-time-contributor-welcome: + runs-on: ubuntu-latest + steps: + # We don't use the actions/first-interaction action because it can't reference the author, nor can it comment after + # PR merge. + # Once https://github.com/wow-actions/welcome/pull/12 is merged, we should use https://github.com/wow-actions/welcome + # directly. + - uses: OrchardCMS/welcome-action@task/update-to-node-20 + with: + FIRST_ISSUE_COMMENT: > + Thank you for submitting your first issue, awesome! 🚀 We're thrilled to receive your input. If you haven't + completed the template yet, please take a moment to do so. This ensures that we fully understand your feature + request or bug report. A core team member will review your issue and get back to you. + FIRST_PR_COMMENT: > + Thank you for submitting your first pull request, awesome! 🚀 If you haven't already, please take a moment + to review our [contribution guide](https://docs.orchardcore.net/en/latest/docs/guides/contributing/). This + guide provides helpful information to ensure your contribution aligns with our standards. A core team member + will review your pull request. + FIRST_PR_MERGED_COMMENT: > + Congratulations on your first PR merge! 🎉 Thank you for your contribution! We're looking forward to welcome + other contributions of yours in the future. @all-contributors please add @{{ author }} for code. + STAR_MESSAGE: If you like Orchard Core, please star our repo and join our [community channels ](https://github.com/OrchardCMS/OrchardCore/?tab=readme-ov-file#get-in-touch) diff --git a/.github/workflows/issue-metrics.yml b/.github/workflows/issue_metrics.yml similarity index 99% rename from .github/workflows/issue-metrics.yml rename to .github/workflows/issue_metrics.yml index 1ae7decc860..4ebbef489b6 100644 --- a/.github/workflows/issue-metrics.yml +++ b/.github/workflows/issue_metrics.yml @@ -10,7 +10,7 @@ permissions: pull-requests: read jobs: - build: + publish-issue-metrics: name: Generate Issue and Pull Request Metrics runs-on: ubuntu-latest steps: