docker-mailserver/.github/workflows
Naveen 13a194466b
chore: Set permissions for GitHub actions (#2555)
* chore: Set permissions for GitHub actions

 Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>

* Update docs-production-deploy.yml

* added `packages: write` permissions

this is apparently needed by GH so this repository can push new images.

Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
Co-authored-by: Casper <casperklein@users.noreply.github.com>
2022-05-11 09:51:15 +02:00
..
scripts/docs docs(deps): bump mkdocs-material to v8.2.8 (#2516) 2022-03-31 14:21:43 +02:00
contributors.yml chore(deps): Bump peterjgrainger/action-create-branch (#2528) 2022-04-05 10:43:58 +12:00
default_on_push.yml chore: Set permissions for GitHub actions (#2555) 2022-05-11 09:51:15 +02:00
docs-preview-deploy.yml chore(deps): bump myrotvorets/set-commit-status-action (#2167) 2021-09-05 09:22:49 +00:00
docs-preview-prepare.yml chore: Set permissions for GitHub actions (#2555) 2022-05-11 09:51:15 +02:00
docs-production-deploy.yml chore: Set permissions for GitHub actions (#2555) 2022-05-11 09:51:15 +02:00
handle_stalled.yml chore: Set permissions for GitHub actions (#2555) 2022-05-11 09:51:15 +02:00
linting.yml chore: Set permissions for GitHub actions (#2555) 2022-05-11 09:51:15 +02:00
scheduled_builds.yml chore: Set permissions for GitHub actions (#2555) 2022-05-11 09:51:15 +02:00
test_merge_requests.yml chore: Set permissions for GitHub actions (#2555) 2022-05-11 09:51:15 +02:00