Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzZxh-0004Mj-Ul for pgsql-jdbc@arkaria.postgresql.org; Fri, 10 Jun 2022 08:25:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nzZxg-0002K4-P9 for pgsql-jdbc@arkaria.postgresql.org; Fri, 10 Jun 2022 08:25:44 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzZxg-0002Jv-Fl for pgsql-jdbc@lists.postgresql.org; Fri, 10 Jun 2022 08:25:44 +0000 Received: from out-25.smtp.github.com ([192.30.252.208] helo=smtp.github.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzZxc-0008KV-DF for pgsql-jdbc@lists.postgresql.org; Fri, 10 Jun 2022 08:25:43 +0000 Received: from github.com (hubbernetes-node-0e6b21e.ash1-iad.github.net [10.56.211.52]) by smtp.github.com (Postfix) with ESMTPA id 58BF7840F03 for ; Fri, 10 Jun 2022 01:25:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1654849539; bh=2ygtzGLkbBI8j2Mh+vs1FJgbOPBeVLBy1haZnOBMIXI=; h=Date:From:To:Subject:From; b=IgiNTZl3ze+rPD238TTZ967nfeIIkBtTuiwCPy2+DpOJgtB+faOj02Gd9i3ASo7xa olnGCHHUDCfC4bDsXltbNqXIhx+Qe0Q0/jwtlmRjJcduwz+dbBKuWFrIYZ56Y3el2/ NtgHGa795ar7spVm/lZ0qwXKw1BN2/fcBREssQHk= Date: Fri, 10 Jun 2022 01:25:39 -0700 From: Vladimir Sitnikov To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] e3f21b: chore: set "read" permissions for GitHub actions Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Branch: refs/heads/master=0D Home: https://github.com/pgjdbc/pgjdbc=0D Commit: e3f21bf9472d138e2feb1324ed3d9e23f6645f23=0D https://github.com/pgjdbc/pgjdbc/commit/e3f21bf9472d138e2feb1324ed3= d9e23f6645f23=0D Author: Vladimir Sitnikov =0D Date: 2022-06-10 (Fri, 10 Jun 2022)=0D =0D Changed paths:=0D M .github/workflows/buildcache.yml=0D M .github/workflows/debezium.yml=0D M .github/workflows/fedora-copr-build.yml=0D M .github/workflows/main.yml=0D M .github/workflows/nightlysnapshot.yml=0D M .github/workflows/omni.yml=0D =0D Log Message:=0D -----------=0D chore: set "read" permissions for GitHub actions=0D =0D Restrict the GitHub token permissions only to the required ones;=0D this way, even if the attackers will succeed in compromising your workflo= w,=0D they won=E2=80=99t be able to do much.=0D =0D See=0D https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissi= ons=0D https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-gi= thub-actions#permissions=0D https://securitylab.github.com/research/github-actions-preventing-pwn-req= uests/=0D https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jo= bs=0D =0D =0D Commit: 0eb45c3120ff2eed01683c20de4eeeaa5777a44a=0D https://github.com/pgjdbc/pgjdbc/commit/0eb45c3120ff2eed01683c20de4= eeeaa5777a44a=0D Author: Vladimir Sitnikov =0D Date: 2022-06-10 (Fri, 10 Jun 2022)=0D =0D Changed paths:=0D M CHANGELOG.md=0D =0D Log Message:=0D -----------=0D doc: add release notes regarding CI security fixes=0D =0D =0D Compare: https://github.com/pgjdbc/pgjdbc/compare/2a0df3cb9ef8...0eb45c31= 20ff=0D