mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 11:10:42 +00:00
Reduce workflow permissions (#748)
Reduce workflow permissions to the minimum required. Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
name: 🧪 CI
|
||||
on: [push, pull_request]
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
|
||||
@@ -34,6 +34,8 @@ on:
|
||||
branches:
|
||||
- "*"
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
# Don't deploy on push if this is a fork
|
||||
|
||||
@@ -5,6 +5,8 @@ on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
eslint:
|
||||
name: Check
|
||||
|
||||
@@ -5,6 +5,8 @@ on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
prettier:
|
||||
name: Check
|
||||
|
||||
Reference in New Issue
Block a user