pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vladimir Sitnikov <noreply@github.com>
To: pgsql-jdbc@lists.postgresql.org
Subject: [pgjdbc/pgjdbc] e3f21b: chore: set "read" permissions for GitHub actions
Date: Fri, 10 Jun 2022 01:25:39 -0700
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/2a0df3-0eb45c@github.com> (raw)

  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: e3f21bf9472d138e2feb1324ed3d9e23f6645f23
      https://github.com/pgjdbc/pgjdbc/commit/e3f21bf9472d138e2feb1324ed3d9e23f6645f23
  Author: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
  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 <sitnikov.vladimir@gmail.com>
  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





Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/2a0df3-0eb45c@github.com>
Permalink:  ../pgjdbc%2Fpgjdbc%2Fpush%2Frefs%2Fheads%2Fmaster%2F2a0df3-0eb45c@github.com/
Also on:    postgresql.org/message-id/pgjdbc/pgjdbc/push/refs/heads/master/2a0df3-0eb45c@github.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: noreply@github.com
  Subject: Re: [pgjdbc/pgjdbc] e3f21b: chore: set "read" permissions for GitHub actions
  In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/master/2a0df3-0eb45c@github.com>
  References: <pgjdbc/pgjdbc/push/refs/heads/master/2a0df3-0eb45c@github.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox