mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
ci(fix): Only apply permissions at the job level (#3142)
If permissions are specified at the workflow level, any that are not explicitly set became `none` and jobs cannot request that to change. Permissions are therefore scoped to the job itself.
This commit is contained in:
parent
9e2f96448a
commit
aa4d4fe315
|
@ -14,9 +14,6 @@ on:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
scan-image:
|
scan-image:
|
||||||
permissions:
|
permissions:
|
||||||
|
|
Loading…
Reference in a new issue