Skip to content

Releases: github/safe-settings

2.1.17-rc.2

08 Apr 15:25
Compare
Choose a tag to compare
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)

08 Apr 10:56
ff7a656
Compare
Choose a tag to compare
* 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

08 Apr 15:35
ff7a656
Compare
Choose a tag to compare

Changes in Version 2.1.17 compared to Version 2.1.16

Workflow Updates

  • Updated Docker actions:
    • docker/setup-buildx-action to b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2
    • docker/login-action to 74a5d142397b4f367a81961eba4e8cd7edddf772
    • docker/build-push-action to 471d1dc4e07e5cdedd4c2171150001c434f0b7a4
    • docker/metadata-action to 902fa8ec7d6ecbf8d84d538b9b233a880e428804
    • docker/setup-qemu-action to 29109295f81e9208d7d86ff1c6c12d2833863392

Documentation Updates

  • Added @apidevtools/json-schema-ref-parser (MIT License).
  • Removed note about .yaml extension being ignored.
  • Updated deployment_branch_policy to include examples with custom_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 }}

Code Changes

  • Added FULL_SYNC_NOP environment variable handling.
  • Updated error logging and handling during full sync execution.
  • Updated environment variable DEPLOYMENT_CONFIG_FILE to DEPLOYMENT_CONFIG_FILE_PATH.
  • Enhanced logging and error handling.
  • Improved function syncInstallation to handle nop parameter.
  • Updated deployment configuration loading and validation.
  • Renamed DEPLOYMENT_CONFIG_FILE to DEPLOYMENT_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

22 Jan 16:33
Compare
Choose a tag to compare
revert probot to 2.3.3

2.1.16

22 Jan 16:45
c8639b6
Compare
Choose a tag to compare
revert probot to 2.3.3 (#745)

2.1.15-rc.1

26 Dec 16:11
c1bc922
Compare
Choose a tag to compare
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)

02 Dec 12:54
1c752e0
Compare
Choose a tag to compare
* Adding external runner for doing a one-time full-sync

* Updating docs to describe GHA setup process

2.1.14-rc.2

17 Sep 13:47
Compare
Choose a tag to compare
dont add nulls and undefined to results

2.1.14-rc.1

17 Sep 12:00
Compare
Choose a tag to compare
Merge branch 'main-enterprise' into yj-repo-in-many-suborgs

2.1.13: Fix: array comparison breaks if using the environments plugin (#682)

16 Sep 23:39
85aae4f
Compare
Choose a tag to compare
* 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.