Skip to content

fix version retrieval in action.yml #44

fix version retrieval in action.yml

fix version retrieval in action.yml #44

Workflow file for this run

name: Release management
on:
workflow_dispatch:
inputs:
pre-release:
required: false
type: boolean
default: false
description: "This release will be labeled as non-production ready"
github-release:
required: false
type: boolean
default: false
description: "Publish Github release for the current version"
pull_request:
types:
- closed
branches:
- main
jobs:
release:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Preparing the next main release
uses: ./
with:
token: ${{ secrets.GITHUB_TOKEN }}
develop-branch: main
version-files: package.json
pre-release: ${{ inputs.pre-release || false }}
github-release: ${{ inputs.github-release || false }}
release-title: Release Automation Action