Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/byteab/action-create-release-base-on-week

create release branch every two week start from
https://github.com/byteab/action-create-release-base-on-week

Last synced: 3 months ago
JSON representation

create release branch every two week start from

Awesome Lists containing this project

README

        

# Create Release Branch GitHub Action

This action creates a new branch with the same commit reference as the branch it is being ran on, or your chosen reference when specified.

## Inputs

### `baseNumber`

**Optional** the number to start release with for example here baseNumber 3 `"release-3"`.

### `numberOfWeeks`

**Optional** create release branch on each number of weeks. default value is 2

### `baseDate`

base date to check if specific number of weeks are passed

## Outputs

### `created`

Boolean value representing whether or not a new branch was created.

## Example usage

```
uses: TheEhsanSarshar/action-create-release-base-on-week@master

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
baseNumber: 17
baseDate: '2022-04-07'
numberOfWeeks: 2
```