Skip to content

Commit 36957d7

Browse files
Merge PR SigmaHQ#6045 from @swachchhanda000 - chore: revert greetings first-interaction action to v1
chore: revert greetings first-interaction action to v1
1 parent 994da16 commit 36957d7

1 file changed

Lines changed: 18 additions & 7 deletions

File tree

.github/workflows/greetings.yml

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,16 @@ jobs:
1717
name: Greet First-Time Contributors
1818
if: github.event_name == 'issues' || (github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository)
1919
runs-on: ubuntu-latest
20-
2120
steps:
22-
- uses: actions/first-interaction@1c4688942c71f71d4f5502a26ea67c331730fa4d # v3.1.0
21+
# Reverted from actions/first-interaction@v3 back to v1 due to a known upstream bug
22+
# where all contributors are greeted (not just first-timers) in repos with GitHub
23+
# Issues disabled, because isFirstIssue() always returns true in that case.
24+
# See: https://github.com/actions/first-interaction/issues/369
25+
- uses: actions/first-interaction@34f15e814fe48ac9312ccf29db4e74fa767cbab7 # v1.3.0
2326
with:
24-
issue_message: |
25-
Welcome :wave:
27+
repo-token: ${{ secrets.GITHUB_TOKEN }}
28+
issue-message: |
29+
Welcome @${{ github.actor }} :wave:
2630
2731
It looks like this is your first issue on the Sigma rules repository!
2832
@@ -32,12 +36,19 @@ jobs:
3236
3337
Thanks for taking the time to open this issue, and welcome to the Sigma community! :smiley:
3438
39+
If you want to engage more with the community for official support, general discussions or announcements:
40+
41+
👉 [Join our Discord server](https://discord.gg/UcDN25s8)
42+
43+
pr-message: |
44+
Welcome @${{ github.actor }} :wave:
3545
36-
pr_message: |
37-
Welcome :wave:
38-
3946
It looks like this is your first pull request on the Sigma rules repository!
4047
4148
Please make sure to read the [SigmaHQ conventions](https://github.com/SigmaHQ/sigma-specification/blob/main/sigmahq/) to make sure your contribution is adhering to best practices and has all the necessary elements in place for a successful approval.
4249
4350
Thanks again, and welcome to the Sigma community! :smiley:
51+
52+
If you want to engage more with the community for official support, general discussions or announcements:
53+
54+
👉 [Join our Discord server](https://discord.gg/UcDN25s8)

0 commit comments

Comments
 (0)