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
|
||||
on: [pull_request]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
5
.github/workflows/tests.yml
vendored
5
.github/workflows/tests.yml
vendored
@@ -7,6 +7,9 @@ on:
|
||||
branches-ignore:
|
||||
- i18n_master
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-18.04
|
||||
@@ -60,6 +63,8 @@ jobs:
|
||||
name: screenshots
|
||||
path: tmp/screenshots
|
||||
coveralls:
|
||||
permissions:
|
||||
contents: none
|
||||
runs-on: ubuntu-18.04
|
||||
needs: tests
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user