You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by as...@apache.org on 2022/07/07 11:27:22 UTC

[airflow] branch main updated: Make sure that build-images workflow has permissions to read PR info (#24897)

This is an automated email from the ASF dual-hosted git repository.

ash pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new bdc31bd1f6 Make sure that build-images workflow has permissions to read PR info (#24897)
bdc31bd1f6 is described below

commit bdc31bd1f6c5b29c65b1037464591f1f09f1cf8c
Author: Ash Berlin-Taylor <as...@apache.org>
AuthorDate: Thu Jul 7 12:26:53 2022 +0100

    Make sure that build-images workflow has permissions to read PR info (#24897)
    
    For a public repo this information is public so no extra permission is
    required, but just in case this workflow ends up against a private repo
    we need these permissions explicitly.
---
 .github/workflows/build-images.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml
index 638118727b..41cc29ea1d 100644
--- a/.github/workflows/build-images.yml
+++ b/.github/workflows/build-images.yml
@@ -22,6 +22,7 @@ on:  # yamllint disable-line rule:truthy
 permissions:
   # all other permissions are set to none
   contents: read
+  pull-requests: read
 env:
   MOUNT_SELECTED_LOCAL_SOURCES: "false"
   ANSWER: "yes"