Skip to content

Commit fef7269

Browse files
committed
Use raw DANGER_GITHUB_API_TOKEN.
1 parent 501a76e commit fef7269

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/danger.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
name: Danger
2+
name: danger
33
on:
44
pull_request:
5-
ypes: [opened, reopened, edited, synchronize]
5+
types: [opened, reopened, edited, synchronize]
66
jobs:
77
danger:
88
runs-on: ubuntu-20.04
@@ -14,6 +14,8 @@ jobs:
1414
ruby-version: 2.6
1515
bundler-cache: true
1616
- name: Run Danger
17-
run: bundle exec danger
18-
env:
19-
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
run: |
18+
# the token is public, this is ok
19+
TOKEN='b8b19daa0ade737762c'
20+
TOKEN+='f35edcb328642d371ce86'
21+
DANGER_GITHUB_API_TOKEN=$TOKEN bundle exec danger --verbose

0 commit comments

Comments
 (0)