Skip to content

Commit 8576390

Browse files
numbatadblock
andauthored
Add danger (#956)
* Add danger. closes #955 * Do not check ToC * Update CHANGELOG * Fix missing period for CHANGELOG * Fix contribution lines * Update CHANGELOG date format * Align ToC --------- Co-authored-by: Daniel (dB.) Doubrovkine <dblock@dblock.org>
1 parent f58c60f commit 8576390

File tree

5 files changed

+219
-125
lines changed

5 files changed

+219
-125
lines changed

.github/workflows/danger.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: danger
3+
on: pull_request
4+
5+
jobs:
6+
danger:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
with:
11+
fetch-depth: 100
12+
- name: Set up Ruby
13+
uses: ruby/setup-ruby@v1
14+
with:
15+
ruby-version: 3.4
16+
bundler-cache: true
17+
- name: Run Danger
18+
run: |
19+
# the token is public, has public_repo scope and belongs to the grape-bot user owned by @dblock, this is ok
20+
TOKEN=$(echo -n Z2hwX2lYb0dPNXNyejYzOFJyaTV3QUxUdkNiS1dtblFwZTFuRXpmMwo= | base64 --decode)
21+
DANGER_GITHUB_API_TOKEN=$TOKEN bundle exec danger --verbose
22+

0 commit comments

Comments
 (0)