ci(suggest-tags): Switch to pull_request_target with suggest tags

This commit is contained in:
Eric Fennis
2025-06-30 21:49:06 +02:00
parent 0fdc2413f6
commit 37135af384
3 changed files with 32 additions and 16 deletions

View File

@@ -1,7 +1,8 @@
name: Pull request tags suggestions
on:
pull_request:
pull_request_target:
types: [opened, reopened]
paths:
- 'icons/*.json'
@@ -14,7 +15,11 @@ jobs:
pull-requests: write
steps:
# We checkout the main branch of main repository for security reasons.
# This is to prevent the workflow from running on a forked repository.
- uses: actions/checkout@v4
with:
repository: lucide-icons/lucide
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with: