mirror of
https://github.com/holub/mame
synced 2025-04-18 22:49:58 +03:00
Set minimum required permissions on GitHub Actions workflows. (#10004)
This commit is contained in:
parent
921a9617ba
commit
f00d28e2bd
3
.github/workflows/ci-linux.yml
vendored
3
.github/workflows/ci-linux.yml
vendored
@ -20,6 +20,9 @@ on:
|
||||
- 'COPYING'
|
||||
- 'makefile'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build-linux:
|
||||
runs-on: ubuntu-latest
|
||||
|
3
.github/workflows/ci-macos.yml
vendored
3
.github/workflows/ci-macos.yml
vendored
@ -18,6 +18,9 @@ on:
|
||||
- 'COPYING'
|
||||
- 'makefile'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build-macos:
|
||||
runs-on: macOS-latest
|
||||
|
3
.github/workflows/ci-windows.yml
vendored
3
.github/workflows/ci-windows.yml
vendored
@ -18,6 +18,9 @@ on:
|
||||
- 'COPYING'
|
||||
- 'makefile'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
|
||||
build-windows-gcc:
|
||||
|
3
.github/workflows/docs.yml
vendored
3
.github/workflows/docs.yml
vendored
@ -10,6 +10,9 @@ on:
|
||||
- '.github/**'
|
||||
- 'docs/**'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build-docs:
|
||||
runs-on: ubuntu-latest
|
||||
|
3
.github/workflows/hash.yml
vendored
3
.github/workflows/hash.yml
vendored
@ -14,6 +14,9 @@ on:
|
||||
- 'hash/*'
|
||||
- 'plugins/**'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
validate:
|
||||
runs-on: ubuntu-latest
|
||||
|
3
.github/workflows/language.yml
vendored
3
.github/workflows/language.yml
vendored
@ -10,6 +10,9 @@ on:
|
||||
- '.github/**'
|
||||
- 'language/**'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build-language:
|
||||
runs-on: ubuntu-latest
|
||||
|
Loading…
Reference in New Issue
Block a user