app icon indicating copy to clipboard operation
app copied to clipboard

Apply Changes to repository without beeing forced to change the settings.yml

Open lynxSven opened this issue 3 years ago • 2 comments

New Feature

We have many repos which we want to control over one single base-settings.yml The repos only have a settings file with a _extends:{link_to_settings}.yml so they don't change. The only settings.yml which changes is the controlling repos base-settings.yml

The current implementation only allows to take changes into account, if the settings.yml in the many repos changes. The index,js checks this -->

if (!settingsModified) {
      robot.log.debug(`No changes in '${Settings.FILE_NAME}' detected, returning...`)
      return
    }

https://github.com/repository-settings/app/blob/17fbd4035ca80a6f7909551fba79cd6704d87986/index.js#L27

We would like a behaviour or a config where we can control the repo without changing the the settings.yml Maybe a webhook or a workflow, which allows as to do so, so we don't have to change the settings.yml just to workaround the if-condition in the index.js

lynxSven avatar Dec 22 '22 10:12 lynxSven

The lack of this feature is our only reason to not use this app instead of https://github.com/github/safe-settings

torrescd avatar Jan 09 '23 15:01 torrescd

I would also love to see this change and not be forced to make a change in settings.yaml to restart the sync.

sk31337 avatar Aug 22 '23 14:08 sk31337