Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 2023 21:22:47 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: ff5b04fddebd - stable/13 - .github: Restrict permissions on cross-build jobs.
Message-ID:  <202302222122.31MLMlvc014959@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=ff5b04fddebd129be42a60e7ee8666c9286db57c

commit ff5b04fddebd129be42a60e7ee8666c9286db57c
Author:     Alex <aleksandrosansan@gmail.com>
AuthorDate: 2023-02-09 20:12:17 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-02-22 20:46:09 +0000

    .github: Restrict permissions on cross-build jobs.
    
    (cherry picked from commit aca7ff471acffb59f0f9e2cc4de6363872444fcc)
---
 .github/workflows/cross-bootstrap-tools.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.github/workflows/cross-bootstrap-tools.yml b/.github/workflows/cross-bootstrap-tools.yml
index 4ef496f4636b..c6df31e4fbee 100644
--- a/.github/workflows/cross-bootstrap-tools.yml
+++ b/.github/workflows/cross-bootstrap-tools.yml
@@ -6,6 +6,9 @@ on:
   pull_request:
     branches: [ main ]
 
+permissions:
+  contents: read
+
 jobs:
   build:
     name: ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }})



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302222122.31MLMlvc014959>