mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-06-18 05:35:01 +02:00
CI: Setup permissions for workflows.
This commit is contained in:
parent
d8927601be
commit
a8ffcfa156
3
.github/workflows/check-continentmap.yml
vendored
3
.github/workflows/check-continentmap.yml
vendored
|
@ -4,6 +4,9 @@ on:
|
|||
schedule:
|
||||
- cron: "0 2 * * SUN"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
3
.github/workflows/codeql-analysis.yml
vendored
3
.github/workflows/codeql-analysis.yml
vendored
|
@ -16,6 +16,9 @@ on:
|
|||
schedule:
|
||||
- cron: '28 2 * * 5'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
|
|
5
.github/workflows/command-rebase.yml
vendored
5
.github/workflows/command-rebase.yml
vendored
|
@ -9,9 +9,14 @@ on:
|
|||
issue_comment:
|
||||
types: created
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
rebase:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: none
|
||||
|
||||
# On pull requests and if the comment starts with `/rebase`
|
||||
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase')
|
||||
|
|
3
.github/workflows/deploydocker.yml
vendored
3
.github/workflows/deploydocker.yml
vendored
|
@ -8,6 +8,9 @@ on:
|
|||
tags:
|
||||
- "v*.*.*"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
server:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
3
.github/workflows/docker-compose.yml
vendored
3
.github/workflows/docker-compose.yml
vendored
|
@ -12,6 +12,9 @@ on:
|
|||
- '.github/workflows/docker-compose.yml'
|
||||
- 'docker-compose.yml'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
pull:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
3
.github/workflows/docker-janus.yml
vendored
3
.github/workflows/docker-janus.yml
vendored
|
@ -12,6 +12,9 @@ on:
|
|||
- '.github/workflows/docker-janus.yml'
|
||||
- 'docker/janus/Dockerfile'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
3
.github/workflows/docker.yml
vendored
3
.github/workflows/docker.yml
vendored
|
@ -6,6 +6,9 @@ on:
|
|||
push:
|
||||
branches: [ master ]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
server:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
3
.github/workflows/lint.yml
vendored
3
.github/workflows/lint.yml
vendored
|
@ -14,6 +14,9 @@ on:
|
|||
- '**.go'
|
||||
- 'go.*'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: golang
|
||||
|
|
3
.github/workflows/tarball.yml
vendored
3
.github/workflows/tarball.yml
vendored
|
@ -16,6 +16,9 @@ on:
|
|||
- 'go.*'
|
||||
- 'Makefile'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
create:
|
||||
strategy:
|
||||
|
|
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
|
@ -16,6 +16,9 @@ on:
|
|||
- 'go.*'
|
||||
- 'Makefile'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
go:
|
||||
env:
|
||||
|
@ -87,6 +90,8 @@ jobs:
|
|||
parallel: true
|
||||
|
||||
finish:
|
||||
permissions:
|
||||
contents: none
|
||||
needs: go
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
Loading…
Reference in a new issue