Skip to content

Commit c1afaec

Browse files
authored
Merge pull request #32338 from iccir/agentscan
Run agentscan if first-contribution left a comment
2 parents 9278bb4 + 62e3277 commit c1afaec

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

‎.github/workflows/pr_welcome.yml‎

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ jobs:
1515
permissions:
1616
issues: write
1717
pull-requests: write
18+
contents: read
1819
steps:
19-
- uses: plbstl/first-contribution@2c36bdb58684587f60549a69aaa3ec00b9d5f4fe # v4.3.3
20+
- id: first-contribution
21+
uses: plbstl/first-contribution@2c36bdb58684587f60549a69aaa3ec00b9d5f4fe # v4.3.3
2022
with:
2123
labels: first-contribution
2224
skip-internal-contributors: false
@@ -50,3 +52,16 @@ jobs:
5052
[Code of
5153
Conduct](https://github.com/matplotlib/matplotlib/blob/main/CODE_OF_CONDUCT.md).
5254
issue-opened-msg: ""
55+
- name: Run agentscan if first-contribution left a comment
56+
if: "${{ steps.first-contribution.outputs.comment-url != '' }}"
57+
uses: MatteoGabriele/agentscan-action@8112fb79b33fafb8506159df20129a34209ac410 # v2.5.0
58+
with:
59+
mode: labels
60+
scan-pull-requests: true
61+
scan-issues: true
62+
allowed-users: "meeseeksmachine"
63+
label-mixed: "automation: mixed"
64+
label-automated: "automation: automated"
65+
label-community-flagged: "automation: flagged"
66+
auto-close: false
67+
honeypot: false

0 commit comments

Comments
 (0)