forked from Gyanthakur/Dev_Profiles
-
Notifications
You must be signed in to change notification settings - Fork 0
76 lines (63 loc) · 2.59 KB
/
greetings.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name: 'Greetings'
on:
push:
branches:
- '**'
issues:
types: [opened] # Trigger on issue opened event
pull_request:
branches:
- '**'
types: [opened]
permissions:
issues: write
pull-requests: write
jobs:
welcome:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4 # Updated to the latest version
- name: Send Welcome Message
uses: EddieHubCommunity/gh-action-community/src/welcome@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: |
Welcome, @${{ github.actor }}! Thanks for raising the issue.
Soon the maintainers/owner will review it and provide you with feedback/suggestions.
Make sure to **star this awesome repository** and **follow the account!**
pr-message: |
Great job, @${{ github.actor }}! Thanks for creating the pull request.
Soon the maintainers/owner will review it and provide you with feedback/suggestions.
Make sure to **star this awesome repository** and **follow the account!**
# footer: 'Make sure to stay involved and contribute to the project!'
# name: 'Greetings'
# on:
# push:
# branches:
# - '**' # Trigger on all branches for push events
# issues:
# types: [opened] # Trigger on issue opened events
# pull_request:
# branches:
# - '**' # Trigger on pull request opened for all branches
# types: [opened] # Trigger on pull request events like opened, reopened if needed
# permissions:
# issues: write
# pull-requests: write # Ensure pull request permissions are explicitly set to 'write'
# jobs:
# welcome:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v1
# - uses: EddieHubCommunity/gh-action-community/src/welcome@main
# with:
# github-token: doler{{ secrets.GITHUB_TOKEN }} # Ensure the token is set
# issue-message: |
# Welcome, @doler{{ github.actor }}! Thanks for raising the issue.
# Soon the maintainers/owner will review it and provide you with feedback/suggestions.
# Make sure to **star this awesome repository** and **follow the account** for updates!
# pr-message: |
# Great job, @doler{{ github.actor }}! Thanks for creating the pull request.
# Soon the maintainers/owner will review it and provide you with feedback/suggestions.
# Make sure to **star this awesome repository** and **follow the account** for updates!
# footer: 'Make sure to stay involved and contribute to the project!'