Skip to content

Commit 77ee034

Browse files
authored
chore: update danger (#23)
1 parent b1ae9bb commit 77ee034

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/danger.yml

Lines changed: 10 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,21 +8,27 @@ 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
21-
uses: actions/checkout@v2
25+
uses: actions/checkout@v6
2226
- name: Setup gems
2327
run: |
2428
gem install bundler
25-
bundle install --clean --path vendor/bundle
29+
bundle config set clean true
30+
bundle config set path 'vendor/bundle'
31+
bundle install
2632
- name: danger
2733
env:
2834
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}

0 commit comments

Comments
 (0)