We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bb8aec commit d960403Copy full SHA for d960403
1 file changed
.github/workflows/greetings.yml
@@ -0,0 +1,22 @@
1
+name: Greetings
2
+
3
+on:
4
+ issues:
5
+ types: [ opened ]
6
+ # pull_request_target is required so the greeting can be posted on
7
+ # first-time contributors' fork PRs; bot PRs are skipped in the job below.
8
+ pull_request_target: # zizmor: ignore[dangerous-triggers]
9
10
11
+permissions:
12
+ contents: read
13
14
+jobs:
15
+ greeting:
16
+ # Greet humans only — skip Dependabot / bot pull requests (their
17
+ # restricted token cannot be granted the write scope the greeting needs).
18
+ if: github.actor != 'dependabot[bot]' && github.event.pull_request.user.login != 'dependabot[bot]'
19
+ uses: magicsunday/.github/.github/workflows/greetings.yml@main
20
+ permissions:
21
+ issues: write
22
+ pull-requests: write
0 commit comments