Skip to content

Commit d3523ce

Browse files
authored
Revert "[fix] Fix Danger CI permissions for PRs from forks (#4449)"
This reverts commit 2f3c762.
1 parent 2f3c762 commit d3523ce

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/danger.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,15 @@
11
name: Danger PR Review
22
on:
3-
pull_request_target:
3+
pull_request:
44
types: [opened, edited, synchronize]
55

6-
permissions:
7-
contents: read
8-
issues: write # What Danger needs to comment on PRs
9-
pull-requests: write
10-
statuses: write
11-
126
jobs:
137
danger:
148
runs-on: ubuntu-latest
159
steps:
1610
- name: Checkout code
1711
uses: actions/checkout@v4
1812
with:
19-
ref: ${{ github.event.pull_request.head.sha }}
2013
fetch-depth: 0
2114

2215
- name: Setup Node.js

0 commit comments

Comments
 (0)