Skip to content

Review 456/merge Release #1

Review 456/merge Release

Review 456/merge Release #1

Workflow file for this run

name: Jandex Review Release
run-name: Review ${{github.event.inputs.tag || github.ref_name}} Release
on:
pull_request:
paths:
- '.github/project.yml'
jobs:
review-release:
name: Review release
runs-on: ubuntu-latest
steps:
- name: Retrieve project metadata
id: metadata
uses: radcortez/project-metadata-action@main
with:
github-token: ${{secrets.GITHUB_TOKEN}}
metadata-file-path: '.github/project.yml'
- name: Validate version
if: contains(steps.metadata.outputs.current-version, 'SNAPSHOT')
run: |
echo '::error::Cannot release a SNAPSHOT version.'
exit 1
- name: Milestone review
uses: radcortez/milestone-review-action@main
with:
github-token: ${{secrets.GITHUB_TOKEN}}
milestone-title: ${{steps.metadata.outputs.current-version}}