github-community-projects / github-community-projects/safe-settings

allow_force_push flag is always disabled, with no way to configure

Open
#215 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
921
Forks
226
Avg merge
18h 3m
Merged PRs (30d)
14

Description

## Problem Description
When branch protection is applied/enforced by safe-settings, the allow_force_push flag is always reset to 'disabled', and it appears there's no way to configure this setting for a repo.

### What is actually happening
See above

### What is the expected behavior
Wither 'allow_force_push' should not be changed if it is not configured by safe settings, or there should be a way to configure it in the repo protections file.

## Context

### Are you using the hosted instance of probot/settings or running your own?
Running our own

### If running your own instance, are you using it with github.com or GitHub Enterprise?
github.com

#### Version of probot/settings
1.1.9

#### Version of GitHub Enterprise
N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.