Skip to content

Commit

Permalink
Attempt to get danger working as a CI workflow
Browse files Browse the repository at this point in the history
References #5267
  • Loading branch information
tomhughes committed Oct 17, 2024
1 parent 3b65188 commit 6d0c291
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/labeling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,17 @@ on:
pull_request_target:
types: [opened, synchronize]

permissions:
issues: write

jobs:
danger:
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
Expand All @@ -20,6 +25,6 @@ jobs:
bundler-cache: true
- name: Danger
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DANGER_GITHUB_BEARER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
bundle exec danger --verbose

0 comments on commit 6d0c291

Please sign in to comment.