Skip to content

Commit

Permalink
Restrict CI to only have read access to the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
TeamSpen210 committed Jun 10, 2023
1 parent 0413539 commit 962077c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-fgds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ on:
- 'fgd/**'
workflow_dispatch:
# Allow triggering manually whenever it's useful.

permissions:
contents: read
pull-requests: read

jobs:
build-fgds:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-postcompiler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
workflow_dispatch:
# Allow triggering manually whenever it's useful.

permissions:
contents: read
pull-requests: read

jobs:
freeze:
strategy:
Expand Down

0 comments on commit 962077c

Please sign in to comment.