MM - 511: L-rail color update #9
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
name: Check version | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
check_version: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Check if version has been updated | |
id: check | |
uses: EndBug/version-check@v2 | |
- name: Fail if version is not changed | |
if: steps.check.outputs.changed == 'false' | |
uses: actions/github-script@v3 | |
with: | |
script: | | |
core.setFailed('No version number change found. Run `yarn version`-command to upgrade version before merge can be completed.') |