Skip to content

Commit

Permalink
Disable Danger in cases where permissions cannot be passed to `GITHUB…
Browse files Browse the repository at this point in the history
…_TOKEN` (#62)
  • Loading branch information
Econa77 authored Oct 9, 2023
1 parent 58e0102 commit 90639ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Danger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on:
push:
branches:
- master
permissions:
pull-requests: write
jobs:
danger:
runs-on: macos-13
# https://github.com/danger/danger/issues/1103
if: (github.event.pull_request.head.repo.fork == false)
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 90639ed

Please sign in to comment.