Skip to content
This repository was archived by the owner on Jul 4, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 14 additions & 30 deletions .github/workflows/welcome.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Welcome Contributors
name: Welcome New Contributors

on:
issues:
Expand All @@ -7,40 +7,24 @@ on:
types: [opened]

jobs:
greet-contributors:
greeting:
name: Greet First-Time Contributors
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
if: ${{ github.actor != 'dependabot[bot]' && github.actor != 'github-actions[bot]' }}
steps:
- name: Greet on New Issue
uses: actions/github-script@v7
if: github.event_name == 'issues'
- uses: actions/first-interaction@v1
with:
script: |
const body = `👋 Hello @${{ github.actor }}!
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: |
👋 Hi @${{ github.actor }}!

Thank you for opening an issue. We appreciate your contribution and will review it as soon as possible.`;
Thanks for opening your first issue here 🎉
We appreciate your contribution and will review it as soon as possible.
pr-message: |
🎉 Hi @${{ github.actor }}!

github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: body
});

- name: Greet on New Pull Request
uses: actions/github-script@v7
if: github.event_name == 'pull_request_target'
with:
script: |
const body = `🎉 Welcome, @${{ github.actor }}!

Thank you for submitting a Pull Request! We're thrilled to see your contribution. Our team will review it shortly.`;

github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: body
});
Thanks for submitting your first Pull Request!
We’re thrilled to have your contribution and will review it shortly.