mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-09-04 08:11:14 +02:00
Add minimum GitHub token permissions for workflows
Signed-off-by: Varun Sharma <varunsh@stepsecurity.io>
This commit is contained in:
parent
5690c5d075
commit
91da74d88e
3 changed files with 9 additions and 0 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -2,6 +2,9 @@ name: Test
|
|||
|
||||
on: [push, pull_request]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
test:
|
||||
strategy:
|
||||
|
|
3
.github/workflows/mirror.yml
vendored
3
.github/workflows/mirror.yml
vendored
|
@ -10,6 +10,9 @@ on:
|
|||
description: Git commit reference to start comparing from
|
||||
required: true
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
mirror:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
@ -3,6 +3,9 @@ on:
|
|||
push:
|
||||
tags: 'v*'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
homebrew:
|
||||
name: Bump Homebrew formula
|
||||
|
|
Loading…
Reference in a new issue