We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent beead1b commit 43f6f95Copy full SHA for 43f6f95
.github/workflows/reusable-welcome-new-contributors.yml
@@ -9,7 +9,15 @@ jobs:
9
welcome:
10
runs-on: ubuntu-latest
11
steps:
12
+ - name: detect bot author
13
+ id: bot-author-check
14
+ uses: actions/github-script@v8
15
+ with:
16
+ result-encoding: string
17
+ script: return String(context.payload.sender.type === 'Bot' || context.payload.sender.login?.endsWith('[bot]'));
18
+
19
- name: First Interaction
20
+ if: steps.bot-author-check.outputs.result != 'true'
21
uses: actions/first-interaction@v3
22
with:
23
repo_token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments