Skip to content

Limit workflow permissions to contents read #75

Limit workflow permissions to contents read

Limit workflow permissions to contents read #75

Workflow file for this run

name: Ruby
on: [push,pull_request]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Ruby
uses: ruby/setup-ruby@6aaa311d81eba98ae12eaffbcb63296ace0efcde # v1.307.0
with:
ruby-version: 3.1.2
bundler-cache: false
- run: bundle install
- name: Run the default task
run: bundle exec rake