[release] Merge Develop into Master #203
This file contains 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
# Checks that the .release-version file has been updated | |
name: Check release version | |
on: | |
pull_request: | |
branches: | |
- master | |
types: | |
# defaults | |
- opened | |
- synchronize | |
- reopened | |
# custom | |
- ready_for_review # required for Github-created PRs | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
# only run when PR is not draft | |
if: ${{ !github.event.pull_request.draft }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get specific changed files | |
id: changed-files-specific | |
uses: tj-actions/changed-files@v41 | |
with: | |
files: | | |
.release-version | |
- name: Run step looking for change in the release version | |
run: >- | |
if ! "${{ steps.changed-files-specific.outputs.any_changed }}"; then | |
echo "Please change the release version number" | |
exit 1; | |
fi |