mirror of
https://github.com/stenzek/duckstation.git
synced 2025-12-28 05:24:19 +00:00
CI: Minimize workflow permissions
This commit is contained in:
parent
9aaaf14e85
commit
182075675d
3
.github/workflows/gamedb-lint.yml
vendored
3
.github/workflows/gamedb-lint.yml
vendored
@ -16,6 +16,9 @@ on:
|
||||
- 'data/resources/discdb.yaml'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
gamedb-lint:
|
||||
runs-on: ubuntu-slim
|
||||
|
||||
3
.github/workflows/linux-appimage-build.yml
vendored
3
.github/workflows/linux-appimage-build.yml
vendored
@ -4,6 +4,9 @@ on:
|
||||
workflow_call:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
linux-appimage-build:
|
||||
name: "${{ matrix.name }}"
|
||||
|
||||
@ -4,6 +4,9 @@ on:
|
||||
workflow_call:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: "${{ matrix.arch }}"
|
||||
|
||||
3
.github/workflows/macos-build.yml
vendored
3
.github/workflows/macos-build.yml
vendored
@ -4,6 +4,9 @@ on:
|
||||
workflow_call:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
macos-build:
|
||||
name: "Universal"
|
||||
|
||||
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
@ -6,8 +6,8 @@ on:
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
- 'appveyor.yml'
|
||||
- 'extras/yamllint-config.yaml'
|
||||
- 'scripts/*'
|
||||
- '.github/ISSUE_TEMPLATE/*'
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
@ -15,8 +15,11 @@ on:
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
- 'appveyor.yml'
|
||||
- 'extras/yamllint-config.yaml'
|
||||
- 'scripts/*'
|
||||
- '.github/ISSUE_TEMPLATE/*'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
windows:
|
||||
|
||||
3
.github/workflows/translation-lint.yml
vendored
3
.github/workflows/translation-lint.yml
vendored
@ -12,6 +12,9 @@ on:
|
||||
- 'src/duckstation-qt/translations/*.ts'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
translation-lint:
|
||||
runs-on: ubuntu-slim
|
||||
|
||||
3
.github/workflows/upload-caches.yml
vendored
3
.github/workflows/upload-caches.yml
vendored
@ -3,6 +3,9 @@ name: Upload Caches
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
upload-windows-cache:
|
||||
runs-on: windows-2022
|
||||
|
||||
3
.github/workflows/windows-build.yml
vendored
3
.github/workflows/windows-build.yml
vendored
@ -4,6 +4,9 @@ on:
|
||||
workflow_call:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
windows-build:
|
||||
name: "${{ matrix.name }}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user