Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/domix24/action-gitflow


https://github.com/domix24/action-gitflow

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# action-gitflow v0 - Release Management


typescript-action status

## Parameters

### `dev_branch`
* _**required**_ ⚠️
* Name of the dev branch

### `main_branch`
* **required** ⚠️
* Name of the main branch

### `github_token`
* **required** ⚠️
* github token
* needs to be `${{ secrets.GITHUB_TOKEN }}` ⚠️

### `release_prefix`
* default to `release/`
* prefix of the release branch

### `hotfix_prefix`
* default to `hotfix/`
* prefix of the hotfix branch

## Example file
```yaml
on:
pull_request:
types:
- closed
branches:
- main

name: Release Management

jobs:
release_management:
name: Release Management
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
uses: domix24/action-gitflow@v0
with:
dev_branch: develop
main_branch: main
github_token: ${{ secrets.GITHUB_TOKEN }}
```