mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-10-14 07:10:41 +08:00
Add permissions block to workflows
This commit is contained in:
parent
fb8956007c
commit
ef409fde2a
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -4,6 +4,9 @@ on:
|
|||||||
push:
|
push:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build (${{ matrix.os_name }})
|
name: Build (${{ matrix.os_name }})
|
||||||
|
4
.github/workflows/ghcr.yml
vendored
4
.github/workflows/ghcr.yml
vendored
@ -4,6 +4,10 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build and publish to GHCR
|
name: Build and publish to GHCR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user