Skip to content

Commit 0a6a122

Browse files
committed
Adjust Danger to only run on Ubuntu
1 parent d9e8d98 commit 0a6a122

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,10 @@ jobs:
6565
6666
- name: Danger
6767
# Run Danger for PRs originating from within the repo (for fork PRs the token won't give permission to comment)
68-
if: github.event_name == 'pull_request' && matrix.java-version == '1.8' && github.event.pull_request.head.repo.full_name == github.repository
68+
if: github.event_name == 'pull_request' &&
69+
matrix.os == 'ubuntu-latest' &&
70+
matrix.java-version == '1.8' &&
71+
github.event.pull_request.head.repo.full_name == github.repository
6972
env:
7073
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7174
run: bundle exec danger

0 commit comments

Comments
 (0)