[pgjdbc/pgjdbc] e3f21b: chore: set "read" permissions for GitHub actions

Поиск
Список
Период
Сортировка
Искать

[pgjdbc/pgjdbc] e3f21b: chore: set "read" permissions for GitHub actions

От:
Vladimir Sitnikov <noreply@github.com>
Дата:
  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: e3f21bf9472d138e2feb1324ed3d9e23f6645f23
      https://github.com/pgjdbc/pgjdbc/commit/e3f21bf9472d138e2feb1324ed3d9e23f6645f23
  Author: Vladimir Sitnikov 
  Date:   2022-06-10 (Fri, 10 Jun 2022)

  Changed paths:
    M .github/workflows/buildcache.yml
    M .github/workflows/debezium.yml
    M .github/workflows/fedora-copr-build.yml
    M .github/workflows/main.yml
    M .github/workflows/nightlysnapshot.yml
    M .github/workflows/omni.yml

  Log Message:
  -----------
  chore: set "read" 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.

See
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://securitylab.github.com/research/github-actions-preventing-pwn-requests/
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs


  Commit: 0eb45c3120ff2eed01683c20de4eeeaa5777a44a
      https://github.com/pgjdbc/pgjdbc/commit/0eb45c3120ff2eed01683c20de4eeeaa5777a44a
  Author: Vladimir Sitnikov 
  Date:   2022-06-10 (Fri, 10 Jun 2022)

  Changed paths:
    M CHANGELOG.md

  Log Message:
  -----------
  doc: add release notes regarding CI security fixes


Compare: https://github.com/pgjdbc/pgjdbc/compare/2a0df3cb9ef8...0eb45c3120ff


FAQ