Revert "[fix] Fix Danger CI permissions for PRs from forks" (#4450)

This commit is contained in:
filtered
2025-07-15 04:52:01 +10:00
committed by GitHub
parent 2f3c762e85
commit f3168aac89

View File

@@ -1,14 +1,8 @@
name: Danger PR Review
on:
pull_request_target:
pull_request:
types: [opened, edited, synchronize]
permissions:
contents: read
issues: write # What Danger needs to comment on PRs
pull-requests: write
statuses: write
jobs:
danger:
runs-on: ubuntu-latest
@@ -16,7 +10,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Setup Node.js