Merge pull request #4855 from turrisxyz/Pinned-Dependencies-GitHub
chore: Set permissions for GitHub actions
This commit is contained in:
3
.github/workflows/docker.yml
vendored
3
.github/workflows/docker.yml
vendored
@@ -1,6 +1,9 @@
|
|||||||
name: Docker
|
name: Docker
|
||||||
on: [pull_request]
|
on: [pull_request]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
5
.github/workflows/tests.yml
vendored
5
.github/workflows/tests.yml
vendored
@@ -7,6 +7,9 @@ on:
|
|||||||
branches-ignore:
|
branches-ignore:
|
||||||
- i18n_master
|
- i18n_master
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
@@ -60,6 +63,8 @@ jobs:
|
|||||||
name: screenshots
|
name: screenshots
|
||||||
path: tmp/screenshots
|
path: tmp/screenshots
|
||||||
coveralls:
|
coveralls:
|
||||||
|
permissions:
|
||||||
|
contents: none
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
needs: tests
|
needs: tests
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user