Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

chore(workflow): update pull request trigger to pull_request_target and refine permissions for enhanced security

Andras Bacsai9768deccd51a
diff --git a/.github/workflows/chore-pr-comments.yml b/.github/workflows/chore-pr-comments.yml
index f207293465..8836c66325 100644
--- a/.github/workflows/chore-pr-comments.yml
+++ b/.github/workflows/chore-pr-comments.yml
@@ -1,6 +1,6 @@
name: Add comment based on label
on:
- pull_request:
+ pull_request_target:
types:
- labeled
jobs:
@@ -8,6 +8,15 @@ jobs:
runs-on: ubuntu-latest
permissions:
pull-requests: write
+ contents: read
+ actions: none
+ checks: none
+ deployments: none
+ issues: none
+ packages: none
+ repository-projects: none
+ security-events: none
+ statuses: none
strategy:
matrix:
include: