Skip to content

githaxs/code-freeze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Freeze

Block merges during configurable code freezes

Installation

To Install globally:

# githaxs_settings/ghx.yml

code-freeze:
  # install on all repos
  org: true
  org_settings:
    # Final settings cannot be overriden by repo specific settings
    final:
      block_times:
        - "* * * * 6,0"
    # Default value if final and repo specific settings do not exist
    default:
      block_times:
        - "* * * * 6,0"
  # install on select repos
  repos:
    - api-microservice
    - website

Configuration

parameter description required default
block_times A list of times when pull requests should not be merged. Note that times are in UTC. The times follow standard CRON syntax and can be test at crontab.pro. See src/test_task.py for example configurations and tests. no 0

Example Configuration

# <repo name>/ghx.yml

code-freeze:
  repo_settings:
    block_times:
    # Block merges on Saturday and Sunday
      - "* * * * 6,0"

Actions

name description
override Manually override a failing check. The task will post a comment on GitHub indicating which user has overridden the result.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages