Skip to content

Commit bc42e2b

Browse files
committed
chore: update the danger action
1 parent b5cc94b commit bc42e2b

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/danger.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Danger
1+
name: danger
22

33
on:
44
pull_request:
@@ -8,14 +8,18 @@ env:
88
LC_CTYPE: en_US.UTF-8
99
LANG: en_US.UTF-8
1010

11+
permissions:
12+
contents: read
13+
pull-requests: write
14+
1115
jobs:
1216
run-danger:
1317
runs-on: ubuntu-latest
1418
steps:
1519
- name: ruby setup
1620
uses: ruby/setup-ruby@v1
1721
with:
18-
ruby-version: 3.1.4
22+
ruby-version: 3.4.7
1923
bundler-cache: true
2024
- name: Checkout code
2125
uses: actions/checkout@v6
@@ -25,7 +29,5 @@ jobs:
2529
bundle install --clean --path vendor/bundle
2630
- name: danger
2731
env:
28-
2932
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
30-
3133
run: bundle exec danger --verbose

0 commit comments

Comments
 (0)