Skip to content

Commit 8af9198

Browse files
drmowinckelsclaude
andcommitted
Adopt jinx reusable workflows for welcome and thank
Adds a hello.yaml that delegates to the jinx reusable workflows so external contributors get a first-time welcome on open PRs and issues, and a thank-you on merged PRs. Requires JINX_APP_ID and JINX_PRIVATE_KEY secrets (org-level or repo-level) and the jinx[bot] app installed on the repo. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent a763356 commit 8af9198

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/hello.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Hello on PR or Issue
2+
3+
on:
4+
pull_request:
5+
types: [opened, closed]
6+
issues:
7+
types: [opened]
8+
9+
jobs:
10+
welcome:
11+
if: github.event.action == 'opened'
12+
uses: rladies/jinx/.github/workflows/reusable-welcome-contributor.yml@main
13+
secrets:
14+
JINX_APP_ID: ${{ secrets.JINX_APP_ID }}
15+
JINX_PRIVATE_KEY: ${{ secrets.JINX_PRIVATE_KEY }}
16+
17+
thank:
18+
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
19+
uses: rladies/jinx/.github/workflows/reusable-thank-contributor.yml@main
20+
secrets:
21+
JINX_APP_ID: ${{ secrets.JINX_APP_ID }}
22+
JINX_PRIVATE_KEY: ${{ secrets.JINX_PRIVATE_KEY }}

0 commit comments

Comments
 (0)