Skip to content

Commit e4a129d

Browse files
authored
[Housekeeping] Add permissions to build workflow and pin ruby (#521)
2 parents cf56fc9 + 706d66e commit e4a129d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Build + Test
22
on: [pull_request, push]
33

4+
permissions:
5+
contents: read
6+
47
jobs:
58
build:
69
name: Build + Test
@@ -12,7 +15,7 @@ jobs:
1215
steps:
1316
- uses: actions/checkout@v4
1417
- name: Set up Ruby ${{ matrix.ruby }}
15-
uses: ruby/setup-ruby@v1
18+
uses: ruby/setup-ruby@a6e6f86333f0a2523ece813039b8b4be04560854 #v1.190.0 tag
1619
with:
1720
ruby-version: ${{ matrix.ruby }}
1821
bundler-cache: true

0 commit comments

Comments
 (0)