1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-07-15 07:14:46 +02: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:
Brennan Kinney
2023-03-04 03:32:00 +13:00
committed by GitHub
parent 9e2f96448a
commit aa4d4fe315

View File

@ -14,9 +14,6 @@ on:
required: true
type: string
permissions:
contents: read
jobs:
scan-image:
permissions: