Skip to content

Commit 408f3ce

Browse files
author
devanshu
committed
Fix: corrected workflow for first-interaction bot
1 parent a92b1e5 commit 408f3ce

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/greetings.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
name: Greetings
22

3-
on: [pull_request_target, issues]
3+
on:
4+
pull_request_target:
5+
types: [opened]
46

57
jobs:
68
greeting:
79
runs-on: ubuntu-latest
8-
permissions:
9-
issues: write
10-
pull-requests: write
1110
steps:
12-
- uses: actions/first-interaction@v3
11+
- name: Greet contributor
12+
uses: actions/first-interaction@v3
1313
with:
14-
repo-token: ${{ secrets.GITHUB_TOKEN }}
15-
issue-message: "Congratulations, ${{ github.actor }}! 🎉 Thank you for creating your first issue in GES. Your contribution is greatly appreciated and we look forward to working with you to resolve the issue. Keep up the great work!"
16-
pr-message: "Great job, ${{ github.actor }}! 🎉 Thank you for submitting your first pull request to GES. Your contribution is valuable and we appreciate your efforts to improve our project. We'll review your changes and provide feedback as soon as possible. Keep up the great work!"
14+
repo_token: ${{ secrets.GITHUB_TOKEN }}
15+
pr_message: "Thank you for your pull request! 🎉 We’ll review it shortly."
16+
issue_message: "Thanks for opening an issue! Our team will check it soon."

0 commit comments

Comments
 (0)