Skip to content

impresscms-dev/simple-autorelease-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Autorelease action

License GitHub release

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):

name: Automatic releases

on:
  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.

If you found any bug or have some questions, use issues tab and write there your questions.