Releases: github/safe-settings
Releases · github/safe-settings
2.1.17-rc.2
cleaned up Glob and fixed a bug in sub org pattern detection
2.1.17-rc.1: Fix 422 errors which might be do to Archive changes (#806)
* undo Archive changes * Update lib/settings.js Co-authored-by: Copilot <[email protected]> * Update lib/settings.js Co-authored-by: Copilot <[email protected]> * rollback the object assign fix suggested by Copilot --------- Co-authored-by: Copilot <[email protected]>
Release 2.1.17
Changes in Version 2.1.17 compared to Version 2.1.16
Workflow Updates
- Updated Docker actions:
docker/setup-buildx-action
tob5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2
docker/login-action
to74a5d142397b4f367a81961eba4e8cd7edddf772
docker/build-push-action
to471d1dc4e07e5cdedd4c2171150001c434f0b7a4
docker/metadata-action
to902fa8ec7d6ecbf8d84d538b9b233a880e428804
docker/setup-qemu-action
to29109295f81e9208d7d86ff1c6c12d2833863392
Documentation Updates
- Added
@apidevtools/json-schema-ref-parser
(MIT License). - Removed note about
.yaml
extension being ignored. - Updated
deployment_branch_policy
to include examples withcustom_branch_policies
for branches and tags. - Added a tip to GitHub's API documentation for creating deployment branch policies.
- Added a newline at the end of the file.
- New file explaining status checks inheritance across scopes.
- Updated environment variables references for consistency:
- Changed
$SAFE_SETTINGS_VERSION
to${{ env.SAFE_SETTINGS_VERSION }}
- Changed
$SAFE_SETTINGS_CODE_DIR
to${{ env.SAFE_SETTINGS_CODE_DIR }}
- Changed
Code Changes
- Added
FULL_SYNC_NOP
environment variable handling. - Updated error logging and handling during full sync execution.
- Updated environment variable
DEPLOYMENT_CONFIG_FILE
toDEPLOYMENT_CONFIG_FILE_PATH
. - Enhanced logging and error handling.
- Improved function
syncInstallation
to handlenop
parameter. - Updated deployment configuration loading and validation.
- Renamed
DEPLOYMENT_CONFIG_FILE
toDEPLOYMENT_CONFIG_FILE_PATH
. - Enhanced branch protection application with overrides handling.
- Refactored custom properties handling for better normalization and error handling.
- Added support for custom branch policies and environment variables.
- New utility class for handling configuration overrides.
- Enhanced ruleset management with override handling and improved logging.
- Improved settings synchronization and error handling.
- Improved configuration loading and validation.
Dependencies
- Updated various dependencies to their latest versions.
2.1.16-rc.2
revert probot to 2.3.3
2.1.16
revert probot to 2.3.3 (#745)
2.1.15-rc.1
Pin non-immutable Actions to latest SHA and remediate dependency vuln…
2.1.14: Adding external runner for doing a one-time full-sync (#604)
* Adding external runner for doing a one-time full-sync * Updating docs to describe GHA setup process
2.1.14-rc.2
dont add nulls and undefined to results
2.1.14-rc.1
Merge branch 'main-enterprise' into yj-repo-in-many-suborgs
2.1.13: Fix: array comparison breaks if using the environments plugin (#682)
* update comments from #249 I found the logic behind some of what happened here hard to follow and updated the comments to try to make it easier to follow. * fix environments updating global array The environments plugin was changing `MergeDeep.NAME_FIELDS`, which is a global object. The reason was to avoid environments being filtered out from the change list if they only have a name field. However, the environments plugin has it's own overriden sync method, and thus we can simply drop the whole filtering from that method. Fixes #108 * remove repeating line This has to be a "typo" from 9a74e05 calling the same assignment twice. Removing to clean up.