1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-09 23:34:23 +00:00

ci: set minimal permissions on workflows (#248)

This commit is contained in:
Diogo Teles Sant'Anna 2023-03-07 18:57:54 -03:00 committed by GitHub
parent 6542403248
commit 73e91dc28c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

View file

@ -2,6 +2,8 @@ name: macos
on: [push, pull_request] on: [push, pull_request]
permissions: read-all
jobs: jobs:
build: build:
runs-on: ${{matrix.config.os}} runs-on: ${{matrix.config.os}}

View file

@ -2,6 +2,8 @@ name: ubuntu
on: [push, pull_request] on: [push, pull_request]
permissions: read-all
jobs: jobs:
ubuntu: ubuntu:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04

View file

@ -2,6 +2,8 @@ name: windows
on: [push, pull_request] on: [push, pull_request]
permissions: read-all
jobs: jobs:
build: build:
runs-on: ${{matrix.config.os}} runs-on: ${{matrix.config.os}}