Release 0.12.1 #101
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Pre-Release | |
| on: | |
| pull_request: | |
| paths: | |
| - '.github/project.yml' | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| name: pre release | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Ensure upgrade YAMLs changed | |
| run: | | |
| CHANGED=$(git diff --name-only \ | |
| ${{ github.event.pull_request.base.sha }} \ | |
| ${{ github.event.pull_request.head.sha }} \ | |
| | grep -E "systemtests/src/test/resources/upgrade/(YamlUpgrade.yaml|OlmUpgrade.yaml)" || true) | |
| if [ -z "$CHANGED" ]; then | |
| echo "❌[ERROR]: Neither YamlUpgrade.yaml nor OlmUpgrade.yaml was modified in this PR, exiting the flow." | |
| exit 1 | |
| fi | |
| echo "✔️ Upgrade YAML change detected: $CHANGED" | |
| - name: Retrieve Project Metadata | |
| uses: radcortez/project-metadata-action@874c89bea2ee8282008328c3418eec4d219013f3 | |
| id: metadata | |
| with: | |
| metadata-file-path: '.github/project.yml' | |
| - name: Review Milestone | |
| uses: radcortez/milestone-review-action@e0f8f2498c85fa915c1181ff93e5c16a810506ef | |
| with: | |
| github-token: ${{secrets.GITHUB_TOKEN}} | |
| milestone-title: ${{steps.metadata.outputs.current-version}} |