[webkit-changes] [WebKit/WebKit] 5ad05b: [git-webkit] Enable secret scanning on public forks

Jonathan Bedard noreply at github.com
Fri Jul 7 16:02:40 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5ad05b63a0df53bbdf8aa2812dde51b4cd3f1bfc
      https://github.com/WebKit/WebKit/commit/5ad05b63a0df53bbdf8aa2812dde51b4cd3f1bfc
  Author: Jonathan Bedard <jbedard at apple.com>
  Date:   2023-07-07 (Fri, 07 Jul 2023)

  Changed paths:
    M Tools/Scripts/libraries/webkitscmpy/setup.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/mocks/remote/git_hub.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/setup.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/setup_unittest.py
    M metadata/git_config_extension

  Log Message:
  -----------
  [git-webkit] Enable secret scanning on public forks
https://bugs.webkit.org/show_bug.cgi?id=258982
rdar://111909822

Rubber-stamped by Aakash Jain.

* Tools/Scripts/libraries/webkitscmpy/setup.py: Bump version.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/mocks/remote/git_hub.py:
(GitHub.__init__): Allow caller to specify that the repository is private.
(GitHub._api_response): Include secret scanning and visibility data.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/setup.py:
(Setup.block_secrets): Enable secret scanning and block the pushing of secrets.
(Setup.github): When validating an existing fork or creating a new one, enable
secret scanning and blocking if caller requests it.
(Setup.git): Consult configuration data to see if secret scanning should be enabled
in forks.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/setup_unittest.py:
* metadata/git_config_extension: Enable secret scanning for WebKit forks, but disable
it for private forks.

Canonical link: https://commits.webkit.org/265868@main




More information about the webkit-changes mailing list