diff --git a/.gemini/settings.json b/.gemini/settings.json index 34eb9b6..ea97888 100644 --- a/.gemini/settings.json +++ b/.gemini/settings.json @@ -1 +1,10 @@ -{ "contextFileName": "AGENTS.md", "advanced": { "bugCommand": { "urlTemplate": "https://github.com/wp-cli/.github/issues/new?template=1-BUG_REPORT.md&title={title}" } } } +{ + "context": { + "fileName": "AGENTS.md" + }, + "advanced": { + "bugCommand": { + "urlTemplate": "https://github.com/wp-cli/.github/issues/new?template=1-BUG_REPORT.md&title={title}" + } + } +} \ No newline at end of file diff --git a/.github/workflows/reusable-welcome-new-contributors.yml b/.github/workflows/reusable-welcome-new-contributors.yml new file mode 100644 index 0000000..9ba791c --- /dev/null +++ b/.github/workflows/reusable-welcome-new-contributors.yml @@ -0,0 +1,19 @@ +name: Welcome New Contributors + +on: + workflow_call: + +jobs: + welcome: + runs-on: ubuntu-latest + steps: + - name: First Interaction + uses: actions/first-interaction@v3 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + pr_message: | + Hello! 👋 + + Thanks for opening this pull request! Please check out our [contributing guidelines](https://make.wordpress.org/cli/handbook/contributions/contributing/). We appreciate you taking the initiative to contribute to this project. + + Contributing isn't limited to just code. We encourage you to contribute in the way that best fits your abilities, by writing tutorials, giving a demo at your local meetup, helping other users with their support questions, or revising our documentation. diff --git a/.github/workflows/sync-workflows.yml b/.github/workflows/sync-workflows.yml index 8698b08..a3327bf 100644 --- a/.github/workflows/sync-workflows.yml +++ b/.github/workflows/sync-workflows.yml @@ -24,6 +24,7 @@ jobs: ^.editorconfig ^.github/workflows/copilot-setup-steps.yml ^.github/workflows/regenerate-readme.yml + ^.github/workflows/welcome-new-contributors.yml ^.github/workflows/issue-triage.yml ^.github/workflows/check-branch-alias.yml ^.github/workflows/manage-labels.yml diff --git a/.github/workflows/welcome-new-contributors.yml b/.github/workflows/welcome-new-contributors.yml new file mode 100644 index 0000000..c38e033 --- /dev/null +++ b/.github/workflows/welcome-new-contributors.yml @@ -0,0 +1,12 @@ +name: Welcome New Contributors + +on: + pull_request_target: + types: [opened] + branches: + - main + - master + +jobs: + welcome: + uses: wp-cli/.github/.github/workflows/reusable-welcome-new-contributors.yml@main