2
0
mirror of https://github.com/tomav/docker-mailserver synced 2025-08-29 13:27:54 +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:
Brennan Kinney 2023-03-04 03:32:00 +13:00 committed by GitHub
parent 9e2f96448a
commit aa4d4fe315
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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