https://github.com/impresscms-dev/simple-autorelease-action
Simple autorelease github action
https://github.com/impresscms-dev/simple-autorelease-action
autorelease github-actions
Last synced: about 1 month ago
JSON representation
Simple autorelease github action
- Host: GitHub
- URL: https://github.com/impresscms-dev/simple-autorelease-action
- Owner: impresscms-dev
- License: bsd-2-clause
- Created: 2022-09-12T22:27:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-21T09:28:06.000Z (3 months ago)
- Last Synced: 2025-03-23T02:19:55.373Z (about 2 months ago)
- Topics: autorelease, github-actions
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple Autorelease action
[](LICENSE)
[](https://github.com/impresscms-dev/simple-autorelease-action/releases)GitHub action that can do automatic releases if at least one pull request was merged in specified period of time.
## Usage
To use this action in your project, create workflow in your project similar
to this code (Note: some parts and arguments needs to be altered):
```yaml
name: Automatic releaseson:
workflow_dispatch:
schedule:
- cron: '0 4 * * 1'jobs:
auto-release:
runs-on: ubuntu-latest
steps:
- name: Releasing if there is something new...
uses: impresscms-dev/[email protected]
with:
release_branch: main
github_token: ${{ secrets.GITHUB_TOKEN }}
default_bump: patch
```## Arguments
This action supports such arguments (used in `with` keyword):
| Argument | Required | Default value | Description |
|--------------------------|----------|----------------|----------------------------------------------------------------------------------------------------|
| github_token | No | *github_token* | GitHub token. |
| release_branch | No | main | Branch that will be used for releases |
| default_bump | No | patch | How to bump version? Major.Minor.Patch |## Outputs
This action outputs such data, that can be used for other actions:
| Variable | Description |
|----------|-------------|
| not_released | Returns if new version was released |
| new_version | New version tag |## How to contribute?
If you want to add some functionality or fix bugs, you can fork, change and create pull request. If you not sure how this works, try [interactive GitHub tutorial](https://skills.github.com).
If you found any bug or have some questions, use [issues tab](https://github.com/impresscms-dev/simple-autorelease-action/issues) and write there your questions.