Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/byteab/action-create-release-base-on-week
- Owner: byteab
- License: mit
- Created: 2022-04-18T05:49:44.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-03-03T20:03:17.000Z (almost 2 years ago)
- Last Synced: 2024-09-14T11:16:03.242Z (4 months ago)
- Language: TypeScript
- Size: 778 KB
- Stars: 2
- Watchers: 0
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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@masterenv:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
baseNumber: 17
baseDate: '2022-04-07'
numberOfWeeks: 2
```